Aim
This entry shows how to install Selenium Grid from it's very first step.
Difficulty Level
Medium
Key Steps
1.Download Selenium Grid from URL:http://selenium-grid.seleniumhq.org/download.html
2.Open the command prompt.
3.Goto directory of Selenium Grid.
4.Enter the command for launch selenium Grid:
Command:
>ant launch-hub
5.Launch the Browser.
6.Open the URL:http://localhost:4444/console
7.Now we can launch the instances of browser from this command:
Ant –Dport=5555 –Denvironment=”*firefox” launch-remote-control
Next Steps:
Now see Example - Selenium Grid on the PC
Helpful Solution Video File
Do I need to install ant to install selenium grid?
ReplyDeletehow to make any configurations? if any?
ReplyDeleteHi Viresh, if I have the selenium grid downloaded from Internet, then we just put it on the system and using ant we instantiate it, we use the below command to launch the selenium grid;
ReplyDeleteant launch-hub
once this command executes then through browser we access the selenium grid.
As Selenium Grid in not any installable it's just a collection of build.xml and jar files, so for running the pre-defined targets from the build files we use Ant.
ReplyDelete