diff --git a/release-1.8.html b/release-1.8.html index 0446fc1f..d4864da5 100755 --- a/release-1.8.html +++ b/release-1.8.html @@ -49,6 +49,17 @@ #description li { margin-left: 1em; } + +table { + margin: 10px; +} +table th{ + font-weight: bold; + background-color: #eee; +} +table td,table th { + padding: 10px; +} @@ -82,13 +93,22 @@

WebDriver support via Ghost Driver integration

-

Ghost Driver, a project from Ivan de Marino, is an implementation of WebDriver Wire Protocol. In this PhantomJS release, Ghost Driver functionalities have been fully integrated. To launch PhantomJS in Remote WebDriver mode at the intended port number:

+

+ Ghost Driver, a project by + Ivan De Marino, is an implementation + of WebDriver Wire Protocol. + In this PhantomJS release, Ghost Driver functionalities have been fully integrated. +

+

+ To launch PhantomJS in Remote WebDriver mode at the intended PORT number: +

phantomjs --webdriver=PORT
+

-
phantomjs --webdriver=PORT
- -

As an example, assuming PhantomJS WebDriver is set to port 9134, then the following Ruby script will display the page title of the Google search with the specified keyword:

- -
+

+ The following example, written in Ruby, assumes PhantomJS WebDriver is running on port 9134. + The script will load Google, submit a search for the term "PhantomJS" and print the page title + os the search result page: +

 require "selenium-webdriver"
 driver = Selenium::WebDriver.for(:remote, :url => "http://localhost:9134")
 driver.navigate.to "http://google.com"
@@ -96,10 +116,56 @@ element = driver.find_element(:name, 'q')
 element.send_keys "PhantomJS"
 element.submit
 puts driver.title
-driver.quit
-
+driver.quit
+

-

Thanks to the various language bindings, WebDriver can be used with many major programming environment, from Java to Ruby. Make sure you check the documentation of Selenium WebDriver.

+

+ Bindings for your favourite programming language have being provided, and can be found in + releases of Selenium >= 2.27: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Language BindingStatus
JavaAvailable
C#/.NetAvailable
PythonAvailable
RubyAvailable
PHPWork 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. +

+

+ More details can be found in + this blogpost. +

+

+ Also, make sure you check the documentation of Selenium WebDriver. +

New features