Chapter 6

  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 the Selenium Standalone Server?

Port 4444.

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

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