How to Execute using a Custom Browser Binary

When executing tests normally, Subject7 Player uses your installed version of your browser (the stable version). If you have a requirement to execute on other versions, for example Dev, Test or Canary, you can follow the below instructions.

1. Download the version of the browser you would like to execute with. Ideally, it should be an offline installer that includes all files.

2. For Chrome or Firefox, follow instructions from 4-7

3. For Edge, skip to step 8 (Microsoft Edge installer works the same everywhere, so you will have to install it normally unless it becomes allowed to configure path before installing)

4. Download and install an archive extractor application. For example 7-Zip

5. Open the installer using 7-Zip by right-clicking it > Open Archive

6. Extract the content of the file. For example:

For Chrome, you need the folder: chrome-win64

For Firefox, you need the folder: core

7. Place the extracted content somewhere you will not change or delete. For example C:\Users\Your_Username\Custom Binary\chrome-win64\chrome.exe

C:\Users\Your_Username\Custom Binary\core\firefox.exe

8- For Edge, locate the path in which the browser was installed and find msedge.exe file. For example:

C:\Program Files (x86)\Microsoft\Edge Dev\Application\msedge.exe

9. Hover over your user and select User Preferences

10. Click Browser tab

11. Next to the browser you would like to execute with, enter the below in the last line and modify the path to reflect the path of your custom browser binary. The end of the path should point to the .exe file. For example:

browserBinary=C:\Users\Your_Username\Custom Binary\chrome-win64\chrome.exe

12. Save & Close

13. Execute your test case and it will launch the browser specified in your Browser tab.

14. When you want to switch back to your main browser, there's no need to remove the line, simply add # before your line in Browser tab as follows:

#browserBinary=C:\Users\Your_Username\Custom Binary\chrome-win64\chrome.exe
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.