Chapter 7

  1. True or false: with Selenium, we can execute tests on the remote machine(s)-

True.

  1. Which driver class is used to run tests on a remote machine?

The RemoteWebDriver class.

  1. Explain the DesiredCapabilities class.

The DesiredCapabilities class is used to specify browser capabilities needed by the test script from the RemoteWebDriver. For example, we can specify the name of the browser, operating system, and version in DesiredCapabilities and pass it to RemoteWebDriver. The Selenium Standalone Server will match the configured capabilities with the available nodes and run the test on the matching node.

  1. What protocol is used between the Selenium test and Selenium Standalone Server?

JSON-Wire.

  1. What is the default port used by ...

Get Selenium WebDriver 3 Practical Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.