Advanced browser automation

The XBrowser Engine 3.0 supports WebDriver (opens in new tab). WebDriver is a generic interface, which is implemented by all major browsers (Google Chrome, Mozilla Firefox, Microsoft Edge, and Safari) to consolidate automatic testing of web pages. Steering via WebDriver enables you to steer remote browsers as well as embedded Chrome or Chromium.

Note that WebDriver steering doesn't support Modules that you've created with the Salesforce Scan.

The chapters below contain detailed information on how to:

To scan a browser remotely, you need to setup a grid hub and corresponding nodes. For information on how to set up the hub and the nodes, click here.

Regarding the hub configuration, Tricentis recommends to set the setting newSessionWaitTimeout in the JSON configuration of the hub to a value smaller than 60000. For more information on how to do this, click here.

Enable WebDriver for browser

In order to automate via WebDriver, you first have to enable WebDriver support for your browser. Safari provides native support for WebDriver, and needs no activation.

To enable WebDriver support for your browser, follow the steps below:

  1. Download the required version of the driver file for your browser here:

  1. Copy the files to any directory that is included in the %PATH% environment variable.