Questions tagged [selenium-grid2]

Selenium-Grid allows you run Selenium tests on different machines, running various operating systems, against different browsers in parallel. It allows for running your tests in a distributed test execution environment.

Selenium-Grid allows you run Selenium tests on different machines, running various operating systems, against different browsers in parallel. It allows for running your tests in a distributed test execution environment.

Selenium-Grid 2.0 is the latest release. It is quite different from version 1 of Selenium-Grid. In 2.0 Selenium-Grid was merged with the Selenium-RC server. Now, you only need to download a single .jar file to get the remote Selenium-RC-Server and Selenium-Grid all in one package.

Grid allows you to :

  • scale by distributing tests on several machines (parallel execution )
  • manage multiple environments from a central point, making it easy to run the tests against a vast combination of browsers / OS.
  • minimize the maintenance time for the grid by allowing you to implement custom hooks to leverage virtual infrastructure for instance.

Related tags :

170 questions
0
votes
1 answer

Unable to create WebDriver instance on Selenium 3.0 Grid / Node

Trying to run some Selenium tests locally using Selenium 3.0 but get the following error: org.openqa.selenium.SessionNotCreatedException: Unable to create new remote session. desired capabilities = Capabilities [{marionette=true,…
0
votes
1 answer

How to check if webdriver (Using selenium grid) instance is available and reachable

I see this error in my test logs: WebDriverException: Session [id] was terminated due to FORWARDING_TO_NODE_FAILED. I am using webdriver with grid configuration {HUB is in Boston and node is in London} How to check if my driver instance is reachable…
0
votes
1 answer

Webdriver exception selenium grid

Not able to launch test after setting all , here is code : public void browserSetup() throws MalformedURLException { DesiredCapabilities capability =DesiredCapabilities.firefox(); driver=new RemoteWebDriver(new…
Sujit Soni
  • 135
  • 1
  • 3
  • 14
0
votes
1 answer

Is there a way to pass extra information on a Selenium Grid request?

I'm trying to see if there is a way to pass extra information to the hub from a given request. The capabilities has the ability to ignore parameters which aren't used, but I wondering if there was a way they could be echoed to the grid UI…
Jamie
  • 876
  • 1
  • 10
  • 28
0
votes
1 answer

How do I increase the inactivity timeout for Selenium Grid?

The Setup: - A Win7 box running Java Selenium tests which automate a Selenium Grid using the Edge browser (on a local Win10 Virtualbox VM) If I pause for too long when debugging Selenium tests for Edge, the Edge instance dies and I have to…
bnieland
  • 6,047
  • 4
  • 40
  • 66
0
votes
1 answer

What is node in Selenium Webdriver GRID?

From what I learn- Nodes are the Selenium instances that will execute the tests that you loaded on the hub. So this means, on a node which runs 5 browsers on a particular OS has basically 5 nodes to run. please explain...
bot13
  • 99
  • 1
  • 15
0
votes
0 answers

Could not execute tests on remote machine using selenium grid

I have written the code to run tests in parallel.I have started selenium hub on my ubuntu machine and registered 2 nodes to it one node from virtual machine and another node from different system.My code is working on node running on virtual machine…
Leo
  • 1
  • 3
0
votes
2 answers

IE capabilities with Jenkins

I have installed: selenium grid 2.53.0 hub +node for IE; Jenkins; IE 11. When I try to run a build for IE via batch command with variable BROWSER=ie I'm getting next error: Error forwarding the new session cannot find : Capabilities…
Den Silver
  • 199
  • 16
0
votes
1 answer

Behat3 MinkExtension could not be enabled

i want to achieve take a screenshot by using Behat, Mink and SeleniumGrid But i get this errors: Given I go to "mySite.org/private" # FeatureContext::visit() Mink instance has not been set on Mink context class. Have you enabled the…
Roma Kap
  • 517
  • 1
  • 8
  • 23
0
votes
0 answers

Selenium Grid c# - Running Multiple Browsers in Node Machine

I'm automating my test cases in c# using selenium Grid, I have hub as my windows machine and my node is MAC. I wanted to run multiple browsers on node machine, say Firefox, Chrome, Safari. My hub command line is java -jar…
cashanzlo
  • 121
  • 2
  • 5
  • 13
0
votes
1 answer

Distributing tests using selenium grid using subprocess approach(plain grid or using jenkins)

I would like to distribute my tests between my local machine and the remote machine. I have 2 tests and would like to run them side by side for faster execution. One on the local machine and the other one is on the remote machine. I have setup my…
user5653362
  • 161
  • 2
  • 15
0
votes
2 answers

seleniumgrid2-@parameters annotation error

I want to run my code on two different machines (as of now i have registered my local machine as hub and 2 nodes), so while running testng.xml file i am getting below error. I am getting error while running testng.xml file, application thorws…
Suresh Sharma
  • 186
  • 1
  • 5
  • 23
0
votes
1 answer

Execute jar file remotely on Amazon EC2 through AWS toolkit for eclipse

As part of Continuous Integration i want to run my Selenium Test Cases on Amazon EC2 instance through the AWS toolkit for eclipse. I want to do the following…
0
votes
1 answer

Is it possible to super scale a dockerised selenium grid?

I am currently developing a dockerised selenium grid to run around 800 functional tests ( see my post ) and I was hoping I could launch up to 800 nodes with one hub in a single grid [inside a BIG aws instance]. The idea would be to run all my tests…
Kostas Demiris
  • 3,415
  • 8
  • 47
  • 85
0
votes
1 answer

Seleneium WebDriver - Getting a different exception

I am running a selenium test using the grid mode. Whenever i am not able to find an element in the page, I am getting the following exception "The HTTP request to the remote WebDriver server for URL …
Timothy Rajan
  • 1,947
  • 8
  • 38
  • 62