How can I setup Selenium Grid in Selenium 3.0

0 votes
I am not getting how to set up Grid in Selenium 3.0. It would be very helpful if anyone can tell me step wise solution
Apr 27, 2018 in Selenium by Perry
• 17,010 points
116 views

1 answer to this question.

0 votes

Below is the stepwise solution for setting up Grid:

  1. Open the Command Prompt and come out of the root directory 

  2. Create a folder on your drive (C:\ or D:\). This folder should contain the selenium-server-standalone file (this file should be created in both hub as well as node, with same file location)

  3. Go to that folder by typing its path in command prompt of the system which is to be treated as Hub  

  4. Now, write the following command to make your system a hub:

    java –jar selenium-server-standalone-3.3.1.jar –role hub

  5. On pressing enter we will see that our hub is ready

  6. Similarly, open the command Prompt on the node system and similarly write the following code:

java  -Dwebdriver.chrome.driver= D:\Selenium\chromedriver-win32-new\chromedriver.exe –jar selenium-server-standalone-3.3.1.jar –role node –hub http://192.168.1.2:4444/grid/register

answered Apr 27, 2018 by Meci Matt
• 9,400 points

Related Questions In Selenium

+2 votes
2 answers

How can I press ENTER key with the execute_script in selenium python?

The below code containing Keys.ENTER might just ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,050 points
5,063 views
0 votes
1 answer

How can I click on male tag in facebook using selenium?

There is an approach for locating an ...READ MORE

answered Dec 20, 2018 in Selenium by Nabarupa
55 views
0 votes
1 answer
0 votes
1 answer

How can I delete an element in Selenium using Python?

Hi friend, getElementByClassName is not a method on ...READ MORE

answered Mar 26 in Selenium by Surya
• 950 points

edited Mar 27 by Omkar 344 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,050 points
258 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
626 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
255 views
0 votes
1 answer

How can I Install Selenium IDE in Firefox

Selenium IDE works with all Firefox versions, ...READ MORE

answered Apr 13, 2018 in Selenium by Meci Matt
• 9,400 points
70 views
0 votes
1 answer

How do I get current URL in Selenium Webdriver using Python?

Use current_url element. Example: print browser.current_url READ MORE

answered Aug 8, 2018 in Selenium by Meci Matt
• 9,400 points
3,944 views