Open Tyvain opened 6 years ago
code to reproduce:
public static void main(String[] args) throws InterruptedException {
JBrowserDriver driver = new JBrowserDriver(Settings.builder()
.ajaxResourceTimeout(10000)
.ajaxWait(10000)
//.blockAds(true)
//.headless(true)
//.ignoreDialogs(true)
.requestHeaders(RequestHeaders.CHROME)
.ssl("trustanything")
// .timezone(Timezone.PACIFIC_AUCKLAND)
.userAgent(UserAgent.CHROME)
.build());
driver.get("https://dtube.video/login");
System.out.println(driver.getPageSource());
WebElement email = driver.findElementByName("username");
driver.quit();
}
Thanks for the code to reproduce! I'll take a look.
maybe timeout
I tried the code, it was still not processed, any idea?
I open an issue here: https://stackoverflow.com/questions/45792203/jbrowserdriver-element-not-found?noredirect=1#comment78547821_45792203
seems like tthe javascript is not being processed. Do you have any idea why?