Sign inSign up

vtajzich/phantomjs

By vtajzich

Updated over 10 years ago

PhantomJS with remote webdriver enabled

Image
1

1.0K

vtajzich/phantomjs repository overview

It cannot be built from Dockerfile as it takes long time and automated build timeouts.

Used dockerfile is https://github.com/vtajzich/Docker-PhantomJS/blob/master/Dockerfile

Webdriver is available on port 23983 . From Java you can connect like:

DesiredCapabilities caps = new DesiredCapabilities();
            caps.setJavascriptEnabled(true);
            caps.setCapability("takesScreenshot", true);

WebDriver driver = new RemoteWebDriver("http://<ip>:23983", caps)

Tag summary

Content type

Image

Digest

Size

1.1 GB

Last updated

over 10 years ago

docker pull vtajzich/phantomjs