Posts Tagged: "phantomjs"

automation testing using phantom js and selenium webdriver with screenshot

– Download latest version of selenium, I am using 2.45.0 – Download latest version of PhantomJs, I am using 2.0- windows, extract to a safe path. Use below code to automate with phantomjs (Headless browser) import java.io.File; import java.io.IOException; import org.apache.commons.io.FileUtils; import org.junit.Test; import org.openqa.selenium.OutputType; import org.openqa.selenium.phantomjs.PhantomJSDriver; public class Phantom { @Test public void phantomTest() […]

Codeception web testing using phantomjs and selenium2 webdriver

Pre Requisites – PHP 5.3, PHP UNIT What is phantomjs This is used for headless webtesting Run functional tests with frameworks such as Jasmine, QUnit, Mocha, Capybara, WebDriver, and many others for screen capture Programmatically capture web contents, including SVG and Canvas. Create web site screenshots with thumbnail preview for Page automation Access and manipulate webpages […]