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
344 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 27, 2018 in Selenium by nsv999
• 5,510 points
16,344 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
451 views
0 votes
1 answer
+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
6,257 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,510 points
3,478 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

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

answered Aug 31 in Selenium by Sri
• 2,970 points
4,488 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,890 points
2,569 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 2 in Selenium by Sri
• 2,970 points
2,807 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
618 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
18,618 views