Updating the Selenium Software and Driver Executables

How to:

These topics describe how to update the Selenium software and the corresponding stand-alone driver executables.

The most frequently updated tier is the second tier (Selenium WebDriver.dll and WebDriver.Support.dll modules). The updates to these two modules can be found at http://www.seleniumhq.org/download/. Since WebFOCUS App Studio uses C# and .Net version 4.0 to communicate with Selenium, you need to download the .Net 4.0 version of the Selenium modules.

Note: If you are using Microsoft Edge or Chrome, you may need to get an updated driver.

Procedure: How to Download the Selenium Modules

  1. Go to the http://seleniumhq.org/download website.
  2. Under the Selenium Client & WebDriver Language Bindings section, locate the C# line, and click the Download link to get the ZIP file.
  3. Unzip the three 3.14.0 .nupkg files:
    • Selenium.Support.3.14.0.nupkg
    • Selenium.WebDriver.3.14.0.nupkg
    • Selenium.WebDriverBackedSelenium.3.14.0.nupkg
  4. Save the .nupkg files as .zip files.
  5. Navigate to the lib/net40 directory to access the dll files.
  6. Extract the dll files from the zip files.
  7. Copy the dll files to the AppStudio82\bin folder.
  8. Restart WebFOCUS App Studio and test the installed browser version. If there is still a problem, open a Customer Support case.

Procedure: How to Update the geckodriver.exe for Mozilla Firefox Automation

Updates to the geckodriver.exe executable can be found at https://github.com/mozilla/geckodriver/releases, which is a website used to track changes to the software. A typical entry on the page will indicate what was done in a particular version of geckodriver.exe, followed by a series of download links.

  1. Select the download link relevant to the version of Windows you are running, as shown in the following image.
  2. Download the zip file to a folder and extract the content.

    Note: Back up the existing geckodriver.exe file prior to the copy.

  3. Copy the geckodriver.exe executable to the bin directory of the WebFOCUS App Studio installation. For example, C:\ibi\AppStudio82\bin.

Procedure: How to Update chromedriver.exe for Google Chrome Automation

Updates to the chromedriver.exe executable can be found at https://sites.google.com/a/chromium.org/chromedriver.

  1. If you receive a message from WebFOCUS App Studio that you do not have the latest driver for the browser on your machine, check your version from the Help About option.
  2. Download the appropriate version for your environment:

    Note: For Chrome, go to the https://sites.google.com/chromium.org/driver/downloads website.

  3. Extract the package.
  4. Navigate to the drive:\ibi\AppStudio82\bin directory.
  5. Replace the chromedriver.exe for Chrome from the package you just downloaded into the drive:\ibi\AppStudio82\bin directory.
  6. Close and restart WebFOCUS App Studio.

Procedure: How to Update MicrosoftWebDriver.exe for Microsoft Edge Automation

Updates to the MicrosoftWebDriver.exe executable can be found at:

https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/

Make sure to follow instructions in the Installation and usage section to correctly detect the build number of your Windows OS.

  1. If you receive a message from WebFOCUS App Studio that you do not have the latest driver for the browser on your machine, check your version from the Help About option.
  2. Download the appropriate version for your environment:

    Note: For Microsoft Edge, go to the https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ website

  3. Extract the package.
  4. Navigate to the drive:\ibi\AppStudio82\bin directory.
  5. Replace the msedgedriver.exe for Microsoft Edge from the package you just downloaded into the drive:\ibi\AppStudio82\bin directory.
  6. Close and restart WebFOCUS App Studio.