I am developing a Java-based test automation project and using Selenium Standalone to run my tests. Currently, I can run tests on a single browser instance, but I want to execute parallel tests.
I tried using Selenium Grid, but I couldn't configure it properly. As an alternative, I attempted to run two separate Selenium Standalone instances on different ports (e.g., 4444 and 4445). However, I am not sure how to distribute tests between these instances in my code.
I know that Selenium Grid handles this automatically, but how can I manage parallel test execution using Selenium Standalone?
Any guidance on how to structure my code for this would be greatly appreciated!
I tried running two Selenium Standalone instances on ports 4444 and 4445. I expected my tests to distribute between them automatically, but instead, all tests ran on a single instance. I need a way to manage parallel execution across multiple standalone instances.
http://[hostname]:4444/wd/hub