GhostDriver

GhostDriver is another component that was written to support Selenium's WebDriver Wire Protocol (https://code.google.com/p/selenium/wiki/JsonWireProtocol), and it is integrated with PhantomJS. Using GhostDriver, we can execute and play back Selenium test suites.

GhostDriver's syntax is straightforward and easy to use. There is no need of any other component since the feature is built into PhantomJS. To start a GhostDriver remote server, we use the following syntax:

phantomjs --webdriver=8080
          --webdriver-selenium-grid-hub=http://127.0.0.1:4444

Once started, we can use this remote server as a normal Selenium WebDriver client. More information about Selenium can be found at http://docs.seleniumhq.org/.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.138.134.102