Updating the Driver Executables for Different Web Browsers

Selenium is a suite of tools specifically for automating web browsers. Selenium support is included with WebFOCUS App Studio, however, if you install a new browser version it may not work with WebFOCUS App Studio.

You may receive an error after executing a procedure or HTML file from WebFOCUS App Studio when using Google Chrome, Microsoft Edge, or Mozilla Firefox browser. The reason for this error is that for a new version of Google Chrome, Microsoft Edge, or Mozilla Firefox browser, a new version of the Selenium driver is also required to execute procedures and HTML files from WebFOCUS App Studio.

As the Google Chrome, Microsoft Edge, or Mozilla Firefox drivers are not updated automatically, you must download and manually update both these drivers.

Update the Driver Executables

Before you beginEnsure that you are using the latest version of Google Chrome, Microsoft Edge, or Mozilla Firefox browser.
    Procedure
  1. Download the version of the driver corresponding to the version of the browser on your machine.

    For Google Chrome

    • To check the version of Google Chrome, go to Help and select the About Google Chrome option.
      An example of the About Google Chrome dialog is shown in the following image.

      Go to https://chromedriver.chromium.org/downloads and download the corresponding driver required for use with WebFOCUS App Studio.
      An example of the Google Chrome Downloads dialog is shown in the following image.


    For Microsoft Edge

    • To check the version Microsoft Edge browser, go to Help and feedback and select the About Microsoft Edge option. An example of the About Microsoft Edge dialog is shown in the following image.

      Go to https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ and download the corresponding driver required for use with WebFOCUS App Studio.
      An example of the Microsoft Edge Get the latest version dialog is shown in the following image.

    For Mozilla Firefox

    • To check the version Mozilla Firefox browser, go to Help and select the About Mozilla Firefox option. An example of the About Mozilla Firefox dialog is shown in the following image.


      Go to https://github.com/mozilla/geckodriver/releases and download the corresponding driver required for use with WebFOCUS App Studio. An example of the Mozilla Firefox Assets dialog is shown in the following image.

  2. Extract the downloaded zip file.

    Depending on your browser, the downloaded zip file will contain one of the following files:

    • For Google Chrome, the chromedriver.exe file.
    • For Microsoft Edge, the msedgedriver.exe file.
    • For Mozilla Firefox, the geckodriver.exe file.
  3. Close App Studio and copy the .exe file to a bin directory of the App Studio installation (for example, C:\ibi\AppStudio90\bin or C:\ibi\AppStudio82\bin).
  4. Start App Studio to test the browser setup. Navigate to Application Menu > Output Viewer Settings.

  5. Select the desired browser, and then click Test browser setup.

  6. If successful, App Studio opens the selected browser and displays the message Webdriver test status Success, as shown in the following image.