MachinePublishers / jBrowserDriver

A programmable, embeddable web browser driver compatible with the Selenium WebDriver spec -- headless, WebKit-based, pure Java
Other
809 stars 143 forks source link

Driver hangs after clicking an element #217

Open ArloL opened 7 years ago

ArloL commented 7 years ago

Thanks for all the work you're putting into this really cool WebDriver :)

Sadly I have to report an issue with the latest versions. I have made a small demo project: https://github.com/ArloL/jbrowserdriver-test

If you run mvn test you will see that it works. Now if you update the jbrowserdriver version to > 0.16.0 the test will hang when trying to find the about us tab. This happens for me when executed with maven 3.3.9 and JDK 8u112 on a Windows Machine as well as a Linux machine. From the log I can tell that the images are loaded but the method simply never returns. I have to kill the processes.

If I can be of more help, just let me know.

hollingsworthd commented 7 years ago

Thanks for the info, especially tracking down the versions and creating a test case!

ArloL commented 7 years ago

I just confirmed that the issue still exists for 0.17.3

robmoffat commented 7 years ago

https://github.com/MachinePublishers/jBrowserDriver/issues/223 describes a useful workaround

ArloL commented 6 years ago

Just wanted to let you know that sadly the latest version still fails:

Windows 8.1 Pro 64 bit Oracle JDK 8u151 64 bit com.machinepublishers:jbrowserdriver:1.0.0-RC1 org.springframework.boot:spring-boot-starter-parent:2.0.0.M7

The described workaround fixes the issue.

dodgex commented 5 years ago

In 1.0.1 it still fails. But when running with debugger, it somehow works.

Windows Server 2012 Standard Oracle JDK 8u141 64 bit IntelliJ IDEA 2018.2.6 com.machinepublishers:jbrowserdriver:1.0.1 org.springframework.boot:spring-boot-starter-parent:2.1.0.RELEASE selenium.version of spring-boot overridden to 3.141.0