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
3
votes
1 answer

HTTPConnectionPool(host='localhost', port=4444)

i need run my script in docker container version: "3" services: chrome: image: selenium/node-chrome:4.0.0-rc-1-prerelease-20210823 shm_size: 2gb depends_on: - selenium-hub environment: - SE_EVENT_BUS_HOST=selenium-hub …
Saimon
  • 31
  • 5
3
votes
1 answer

How to update web browser on selenium/node-chrome inside docker

I had to update my web browser inside docker file, because I get on my tests report that banner, and it's failed my automation tests. I don't know how to update that. Should I do it through docker update container? Or should I delete…
pawelkuznik
  • 107
  • 10
2
votes
0 answers

Selenium Standalone Server in Docker - TimeoutException

I tried to execute a WebDriver 3.5 based test with ChromeDriver 2.31 in a Selenium Docker container. I used this command to start necessary container: docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:3.5.3-astatine I use…
2
votes
0 answers

Run selenium server using SSL

Please note that my question is not about testing ssl/tls secured http links and not about making Webdriver accept certain certificates. My question is about how to make the embedded Jetty of selenium standalone server provide a secured https…
Marged
  • 10,577
  • 10
  • 57
  • 99
1
vote
0 answers

Element cannot be scrolled into view with Selenium hub and firefox remote Driver

I am using Selenium Hub with a remote firefox driver. I'm experiencing an error when trying to click on an element after hovering on it (via Actions.moveToElement() method). For context, my approach does allow me to click on the element just once.…
1
vote
0 answers

This site can't be reached error while trying to run selenium WebDriver script with selenium docker chrome node

I am trying to run selenium tests on docker with selenium docker chrome node. We are running this on windows 7. Since docker does not support windows 7, we are using vagrant to create linux box and then run selenium hub and selenium node/chrome…
1
vote
1 answer

Selenium Hub Chrome Node does not get HttpOnly Cookies

I am running Selenium tests in two ways: locally with Chrome WebDriver, for implementing the tests in a CI-pipeline with Selenium Hub and a Chrome Node, to run the tests The backend creates HttpOnly cookies. I want to check their existence. To…
1
vote
0 answers

Selenium Node is not replying to /status HTTP-Request

so I got a selenium hub and some nodes. Two Windows 10 VM's (A and B) on an ESXi. B was cloned from A, so they are identical in their configuration except IP and hostname. A has a node, which works fine. B has a node, but the hub cannot get the…
MushyPeas
  • 2,469
  • 2
  • 31
  • 48
1
vote
1 answer

How to allow site to get the machine's IP which ever is acessing its URL

Don't get confused by the title which I know is quite common on Stack overflow but my problem is different. Requirement: I am implementing Selenium grid in my framework, where I need to provide users an option of selecting machines/nodes where they…
1
vote
1 answer

Getting the old html after an click event in selenium handler java

I have created a custom handler in interactive selenium as below public class SomeHandler implements InteractiveSeleniumHandler { private static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass()); public String…
शेखर
  • 17,412
  • 13
  • 61
  • 117
1
vote
0 answers

Using docker Selenium node not accessable from my computer

Using Docker I run Selenium Hub and create two more container and register note. This is the logs 07:25:08.215 INFO - Will listen on 4444 2017-12-28 07:25:08.252:INFO:osjs.Server:main: jetty-9.4.7.v20170914 2017-12-28…
Zakaria Shahed
  • 2,589
  • 6
  • 23
  • 52
0
votes
0 answers

Selenium grid - node chrome - Vstest - failed to navigate to URL

Performing selenium tests in selenium grid - selenium node-chrome environment using azure release pipelines. respective yaml files are provided below , on the release pipelines VSTests logs getting error as failed to navigate URL, looks like…
0
votes
0 answers

Selenium tests not running in Selenium hub configuration with Kubernetes

I have configured my Selenium Hub with 2 Chrome nodes in Selenium 4. When I run the command minikube service selenium-hub --url I get the URLs like http://127.0.0.1:58317 and I am able to see the hub-node configuration up and running correctly. I…
MuCh
  • 103
  • 1
  • 9
0
votes
1 answer

Selenoid not finding chrome image

Browsers.json file { "chrome": { "default": "latest", "versions": { "latest": { "image": "selenoid/chrome:latest", "port": "4444", "path": "/" } } …
vs922905
  • 55
  • 4
0
votes
0 answers

WebDriverException: chrome not reachable whenever I'm running tests on VM

I have a windows VM running OS Windows Server 2012 R2. Selenium Hub and Nodes are setup here. Tests stop abruptly. This doesn't happen every time though, it happens intermittently. Build info: version: '3.141.59', revision: 'e82be7d358', time:…
Rameshwar
  • 541
  • 6
  • 22
1
2