Selenium node for PhantomJS made for SeleniumHQ/docker-selenium
10K+
Container for running Selenium tests in PhantomJS as part of a Selenium grid of different browsers. Made from a fork of the official SeleniumHQ/docker-selenium containers.
See SeleniumHQ/docker-selenium for details on how to run with other browser nodes.
docker run -d -p 4444:4444 --name selenium-hub selenium/hub:2.46.0
docker run -d -P --link selenium-hub:hub stevenalexander/node-phantomjs:2.46.0
In your Selenium Test:
DesiredCapabilities desiredCapabilities = DesiredCapabilities.phantomjs();
desiredCapabilities.setBrowserName("phantomjs");
WebDriver webDriver = new RemoteWebDriver(new URL("http://HUBCONTAINERIP:4444/wd/hub"), desiredCapabilities);
Content type
Image
Digest
sha256:32352e0ca…
Size
198.1 MB
Last updated
about 11 years ago
docker pull stevenalexander/node-phantomjs:2.46.0