Unable to Fetch Selenium Grid Capabilities

Ask general questions here.
alanschuster02
Posts: 1
Joined: Thu Oct 03, 2019 8:37 pm

Unable to Fetch Selenium Grid Capabilities

Post by alanschuster02 » Thu Oct 03, 2019 8:53 pm

I am using Webtestit to run a Selenium test. It is working when using a local endpoint but I'm having trouble setting up a Selenium Grid remote endpoint.

I performed these steps:
1. Started a Selenium server and verified it is running on port 4444
java -D"webdriver.chrome.driver=C:\drivers\chromedriver.exe" -jar .\selenium-server-standalone-3.141.59.
jar -role hub

2. Added a node
java -D"webdriver.chrome.driver=C:\drivers\chromedriver.exe" -jar .\selenium-server-standalone-3.141.59.jar -role node -hub http://localhost:4444/grid/register -browser "browserName=chrome,version=77,platform=WINDOWS"

3. Clicked New Endpoint in my Webtestit project
4. Selected the Remote Endpoint tab
5. Selected Selenium Grid
6. Entered http://localhost:4444/wd/hub as the Grid-URL
7. Clicked Fetch available capabilities

Result is an error message saying nothing more than "Fetching failed."

I am completely stuck without any meaningful error message. As a side note, I was able to execute a simular Selenium Grid test manually in Netbeans.

Also if you are wondering, I'm just trying to develop a proof of concept to see if Webtestit is a feasable automated testing solution for my team, so at this point I don't really care that the remote endpoint isn't truly remote (its simply a selenium grid running locally).

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6163
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Unable to Fetch Selenium Grid Capabilities

Post by odklizec » Fri Oct 04, 2019 9:55 am

Hi,

I'm afraid, this forum is Ranorex oriented, which means there is a very low chance anyone here will be able to help you with your Webtestit problem? I think it would be best to post your question at Webtestit forum, available here:
https://discourse.webtestit.com/
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration