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,100 points
1,084 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,460 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 28, 2018 in Selenium by nsv999
• 5,500 points
27,378 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 21, 2018 in Selenium by Nabarupa
1,935 views
0 votes
1 answer

How can I travel forward and back in a browser using selenium?

You can use the Navigate interface to ...READ MORE

answered Dec 31, 2018 in Selenium by Nabarupa
12,246 views
+1 vote
2 answers

How can I delete an element in Selenium using Python?

You can directly delete the node using ...READ MORE

answered Sep 14, 2019 in Selenium by tonystark
• 500 points
19,831 views
0 votes
2 answers

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,500 points
13,674 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
9,143 views
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,910 points
7,221 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,874 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,460 points
3,740 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,460 points
26,004 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP