Setting Up Chrome Binary Path for Parallel Script Execution
This solution is applicable to any banking application using Java Selenium framework to generate scripts. |
Issue: If you face issues with opening multiple Chrome browsers using scripts in a parallel execution.
Resolution: To address this, perform the following to configure and use a specific Chrome binary for parallel execution:
- Click Stable version to download the Chrome Binary.
- Configure the Chrome Binary Path.
- After downloading the Chrome Binary, you need to specify its path in your downloaded script generated folder.
- Navigate to the WebBrowser.java located in the generated script downloaded folder. (for example, directory src/test/java/common/).
- Add the path to the downloaded Chrome Binary in the appropriate locations within the file. Refer to the following sample screenshots for guidance on where to add the path. Note that the exact path may vary depending on your operating system and the location where you saved the Chrome Binary.
- Execute scripts parallelly by opening multiple command prompts. For more information on Parallel Execution, refer to Executing scripts parallelly.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article