PhantomJS 1.8 Release Notes
PhantomJS 1.8, Blue Winter Rose, was released on December 21, 2012. It integrated Ghost Driver, an implementation of WebDriver Wire Protocol.
WebDriver support via Ghost Driver integration
To launch PhantomJS in Remote WebDriver mode at the intended
The following example, written in Ruby, assumes PhantomJS WebDriver is running on port
The script will load Google, submit a search for the term "PhantomJS" and print the page title
of the search result page:
require "selenium-webdriver" driver = Selenium::WebDriver.for(:remote, :url => "http://localhost:9134") driver.navigate.to "http://google.com" element = driver.find_element(:name, 'q') element.send_keys "PhantomJS" element.submit puts driver.title driver.quit
Bindings for your favourite programming language can be found in Selenium >= 2.27:
|PHP||Work in progress|
NOTICE: Language bindings are provided by kind members of the Selenium community. Issues related to those should be reported to Selenium project. PhantomJS solely implements the Wire Protocol and it is not responsible for any/possible binding malfunctions.
Fix in 1.8.1
Fixes in 1.8.2
Known Issues on Microsoft Windows
Back to all releases.