Ranorex tests via Selenium standalone endpoint

Ranorex Studio, Spy, Recorder, and Driver.
d1sk0
Posts: 4
Joined: Fri Dec 15, 2023 1:40 pm

Ranorex tests via Selenium standalone endpoint

Post by d1sk0 » Fri Dec 22, 2023 4:47 pm

Hi all!

I was trying to enable connection to http://localhost:4444/ while configuring Selenium endpoint in Ranorex Studio.
How I did it? Pulled the Docker image

Code: Select all

docker pull selenium/node-chrome-debug
and then ran that container. Okay, then I went in Ranorex, added an endpoint like: http://localhost:4444/ and after testing the connection, it was successful. Afterwards, I added new endpoint configuration in order to start "headless" mode for Google chrome on that grid. I added new configuration as Capabilities JSON like:

Code: Select all

{
  "browserName": "chrome",
  "chromeOptions": {  
    "args" : ["headless", "no-sandbox"]
  }
}
but this didn't work after all... All I got is the failing message after Ranorex built the project and started running the tests:
The HTTP request to the remote WebDriver server for URL http://localhost:4444/session timed out after 60 seconds.
The operation has timed out
Is there any solution for this?
Thank you in advance.