Table of Contents
- Introduction
- Browser Installation
- Extracting the Beta Version to the Same Path as the Stable Version
- Extracting the Beta Version to a Different Path
Introduction
When running tests in a local PC environment, you can use the Firefox beta version to perform tests before the official release, just like with Chrome and Edge.
However, for Firefox installation, as of now, both the stable and beta versions are extracted to the same path by default, so there are some precautions and considerations required.
This article introduces two methods: "Extracting the Beta Version to the Same Path as the Stable Version" and "Extracting the Beta Version to a Different Path".
Browser Installation
Download the required browser beta version.
Extracting the Beta Version to the Same Path as the Stable Version
By default, Firefox extracts both the beta and stable versions to the same path. In other words, even if you are using the stable version, installing the beta version will overwrite the stable version you were using with the beta version.
In this case, the beta version will be used by default, so no additional settings are required. You can refer to Batch Test Execution from the Command Line (Local PC Environment) and perform batch test execution from the command line using the usual settings.
Extracting the Beta Version to a Different Path
Here is a method to use the stable version by default, while using the beta version only when running tests.
By default, Firefox is installed in the following locations.
| OS | Path |
| Windows | C:¥Program Files¥Mozilla Firefox¥firefox.exe |
| Mac | /Applications/Firefox.app/Contents/MacOS/firefox |
By extracting the beta version to a different path as shown below, you can use the stable version by default and use the beta version only when running tests.
*On Windows, due to OS restrictions, you may not be able to rename until the installation is complete. As a result, the stable version may be overwritten once.
| OS | Path |
| Windows | C:¥Program Files¥Mozilla Firefox Beta¥firefox.exe |
| Mac | /Applications/Firefox Beta.app/Contents/MacOS/firefox |
In that case, edit the capabilities in the execution settings file magic_pod_config.json just like with Chrome and Edge, as shown below.
"capabilities": {
"browserName": "firefox",
"moz:firefoxOptions": {
"binary": "<Path to the Firefox beta version confirmed in the previous step>"
}
}