4 ms·
I had been using Firefox driver in Xvfb but wasn't happy with the performance/stability. So I built a Selenium driver out of Java only (using JavaFX's embedded
by logn 11y ago
I had been using Firefox driver in Xvfb but wasn't happy with the performance/stability. So I built a Selenium driver out of Java only (using JavaFX's embedded WebKit) and used a headless JRE windowing toolkit (Monocle). My project is still a pre-release but the headless capability, Java-only system requirement, and its ajax handling might make it useful to some people currently: https://github.com/MachinePublishers/jBrowserDriver https://github.com/MachinePublishers/jBrowserDriver
- boundlessdreamz 11y agoThis looks very interesting! 1. How does it compare with phantomJS? 2. What's the current webkit version? 3. How often does the javaFX webkit update?
- logn 11y ago1. Not quite sure. I've only used PhantomJS via Selenium Ghost Driver. From that usage they're similar. The main difference is that my driver uses only Java so under the hood the JRE is launching WebKit through JNI and everything runs in the same JRE process. 2. Current WebKit version depends on the JRE used. Oracle Java 1.8.0_45 has WebKit version 537.44. 3. Java maintainers will update WebKit periodically, including within a major version. E.g., here they update WebKit for the 1.8.0_60 JRE: http://openjdk.java.net/jeps/239 http://openjdk.java.net/jeps/239 ... Other than that I'm not sure.
- ericb 11y agoNeat, but Affero public license? Ick.
- ericb 11y agoTo clarify--this was something I was interested in helping with, until I saw the license.
- logn 11y agoIs there any flavor of GPL license you would prefer more? I don't plan on BSD or Apache license in the foreseeable future.
- ericb 11y agoHonestly, if it was useful, I would probably use this my side project which is commercial, but in no way competes with what you're doing (load testing). I might make changes or improvements, and I would generally contribute those back. Affero doesn't "mix well" so it is pretty much a non-starter for me. I've found this is true for a lot of projects and it seems like restrictive licenses prevent projects from going mainstream.