Support for Browser Drivers in PTF
PTF supports downloading and using latest browser drivers that are compatible with the version of Chrome, Microsoft Edge, and Mozilla Firefox browsers so that you can use higher versions of these browser for test playback.
Chrome, Firefox (Gecko), and Microsoft Edge drivers are not shipped with PTF.
You can download the compatible driver version for the browser installed in your machine.
To download and use the required Chrome driver:
-
Download the required Chrome driver from
https://chromedriver.chromium.org/downloads.-
Select the Chrome driver release version. For example, ChromeDriver 88.0.4324.27.
-
Download the chromedriver_win32.zip file.
-
-
Extract the zip file and copy the chromedriver.exe executable file to PTF install directory.
-
Rename the copied driver to match the existing Chrome driver naming format, which is
chromedriver_<version>.exe, where version indicates the version that you select while downloading. For example, chromedriver_88.0.4324.27.exe.
To download and use the required Firefox (Gecko) driver:
-
Download the required Firefox (Gecko) driver from
https://github.com/mozilla/geckodriver/releases.-
Select the Gecko driver release version. For example, 0.28.0.
-
From the Assets section, download the win64.zip file. For example, geckodriver-v0.28.0-win64.zip.
-
-
Extract the zip file and copy the geckodriver.exe executable file to PTF install directory.
-
Rename the copied driver to match the existing Gecko driver naming format, which is
geckodriver_<version>.exewhere version indicates the version that you select while downloading. For example, geckodriver_0.28.0.exe.
To download and use the required Microsoft Edge driver:
-
Download the required Microsoft Edge driver from
https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/.-
On the Downloads section, select the required version. For example, 89.0.774.4 .
-
Download the edgedriver_win32.zip file by choosing your operating system as x86.
-
-
Extract the zip file and copy the msedgedriver.exe executable file to PTF install directory.
-
Rename the copied driver to match the existing Microsoft Edge driver naming format, which is
msedgedriver _<version>.exewhere version indicates the version that you select while downloading. For example, msedgedriver _89.0.774.4.exe.
PTF checks for browser drivers at the time of login and alerts customer with a message if browser drivers are missing. The message also directs customers to the readme file available in the PTF installation folder, which has instructions to find and download the suitable browser driver.