4 ms·
Selenium with Headless Chrome on Travis CI
- logn 9y agoIn some contexts it might be easier to use my project https://github.com/machinepublishers/jbrowserdriver https://github.com/machinepublishers/jbrowserdriver which requires Java/JavaFX (no external browser bin). Chrome Headless is a godsend though.
- amihaiemil 9y agoInteresting project :D
- casimiro 9y agoIt workds pretty well, except for the download functionality.
- payne92 9y agoFor my project, I just drove headless chrome w/ the debug API (remote debugging protocol) directly from Python--it was very straightforward. Headless chrome makes much of these existing frameworks redundant, IMHO. Unless you have a suite of existing test cases in some framework, I'd consider just driving Chrome directly and skipping the overhead and external dependencies.
- nathancahill 9y agoIsn't the goal of Selenium/WebDriver to allow for some level of standardization in interacting with different headless browsers? If you're only interested in ever testing in Chrome, great. But headless Firefox is in the release pipeline (I think it's being tested in Nightly?).
- based2 9y agoHeadless Java notes from yesterday: https://www.blazemeter.com/blog/headless-execution-selenium-tests-jenkins https://www.blazemeter.com/blog/headless-execution-selenium-... https://stackoverflow.com/questions/494442/fake-x11-display https://stackoverflow.com/questions/494442/fake-x11-display http://www.oracle.com/technetwork/articles/javase/headless-136834.html http://www.oracle.com/technetwork/articles/javase/headless-1... https://stackoverflow.com/questions/32862344/what-is-the-difference-between-openjdk-7-jre-headless-and-openjdk-7-jrejdk https://stackoverflow.com/questions/32862344/what-is-the-dif... https://github.com/nimmis/docker-java/tree/master/openjdk-8-jre-headless https://github.com/nimmis/docker-java/tree/master/openjdk-8-...