Questions tagged [selenium-hub]

Selenium-Hub is the central point of the Selenium-Grid which purpose is to receive test requests from web drivers and distributes them to the right Selenium nodes.

Selenium Hub is the central point of the Selenium-Grid, it is a server that accepts access requests from Selenium WebDriver clients, routing JSON test commands to the remote drives on Selenium Nodes. It takes instructions from the client and executes them remotely on the various nodes in parallel.

Along with Selenium node, Selenium hub constitutes the other main component of the selenium-grid. It acts as a central hub, where tests contact it to obtain access to the registered nodes (browser instances), and when given, lets these tests execute their instructions remotely and in parallel on the various registered browsers nodes.

Related tags:


Reference Links

22 questions
0
votes
3 answers

Not able to execute more that 5 instances of browser in a node using Selenium Grid

When I execute more than 5 tests in parallel using TestNG via Selenium Grid, only 5 are getting executed simultaneously. The rest are getting queued. I have configured my node so that it supports 7 instances of Chrome. Why are the 2 remaining…
0
votes
2 answers

Having issues with starting a selenium hub in docker from shell script

shell script code: #!/bin/bash cd /Users/lee/Documents/DockerValidation/ docker-compose -f docker-compose.yaml up --force-recreate --scale chrome=3 >>output.txt Code to invoke the shell script from java Process p =…
0
votes
1 answer

Selenium Grid -- Hub and Node performance issue

I am trying to run Selenium Grid. Currently, I'm using v3.8.1 with one hub on 1 network and 20+ nodes of different networks registering to that Selenium hub. It's executing fast when hub and node are created on the same machine where the application…
0
votes
0 answers

User permissions error inside container while starting hub docker image

When I run command docker run -d -p 4444:4444 --name selenium-hub selenium/hub docker: Error response from daemon: driver failed programming external connectivity on endpoint selenium-hub…
Zakaria Shahed
  • 2,589
  • 6
  • 23
  • 52
0
votes
1 answer

Enforce not using Selenium RC in a grid

I am to provide a Selenium grid and would like to enforce that our developers no longer use the RC API. From what I learnt RC is deprecated and on the client side you need to import the legacy code:…
Marged
  • 10,577
  • 10
  • 57
  • 99
-1
votes
1 answer

Any suggestions for the root cause of this error while running behave BDD tests

While trying to run some BDD behave Tests from my local mac machine I encountered the following error. Has anyone else experienced it and any suggestions to fix it. HOOK-ERROR in before_all: KeyError: 'SELENIUM_HUB'
philomath
  • 113
  • 2
  • 9
-1
votes
1 answer

Jenkins selenium docker and application files

I have a docker hub and a docker node up and running.I have also a docker container which includes my application up and running with the same set up as my pc. I get the following error. [ConnectionException] Can't connect to Webdriver at…
1
2