Executing Selenium Scripts Parallelly with Limited Permissions on Windows Machine

Modified on Tue, 13 Aug at 3:30 PM

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:
  1.  Click Stable version to download the Chrome Binary. 
  2.  Configure the Chrome Binary Path.
  3.  After downloading the Chrome Binary, you need to specify its path in your downloaded script generated folder.
  4.  Navigate to the  WebBrowser.java located in the generated script downloaded folder. (for example, directory src/test/java/common/).
  5. 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.
  6. 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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article