Do you have anything special configured on your VM? Because from my local machine, when I run the webDriver to the VM: driver = new RemoteWebDriver(new URL(urlRemote), options); I get the following error: "An error occurred while opening the browser: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. "
if some one have difficulties with running the tests in some of the browser - just add the --selenium-manager true to run command so it will looks like: java -jar selenium-server-4.14.1.jar standalone --selenium-manager true
Hi . Do you know why does a white screen\browser launches first when running tests using selenium grid in standalone mode ? It executes the tests in the grid but the appearance white screen \ browser is very annoying. Any help would be appreciated
Hi thanks for the video, i have a doubt, is there any way to stop the parallel execution in grid. i cant run my scripts parallel. It has to be executed one after other.
Yes, you can do your execution in a sequential order over Grid. By default Grid does not run the scripts in parallel. You need to make sure you are not running your test in parallel. For example if you are using testng.xml file then you don't have to provide a parallel attribute.
Hi thanks for the reply. Just one more doubt I am using webdriver manager in my framework. When i run the stand alone server jar i am getting no drivers has been configured or have been found on path. How can i solve this error? Download and keep drivers in path will solve the issue? Will it create any conflict with webdiver manager if i download driver manually and keep it on the path?
No, you don't need to download the driver manually now, if you're using webdriver manager. Could you please share the code where you are initiating a webdriver object?
My issues fixed after upgrading from selenium 4.11 to 4.16.1 it shows 8 chrome 8 edge in my computer. In remote machine also i was getting the no driver found issue, so i manually downloaded a chrome driver and keep it in the folder of jar file, now it is showing 4 chrome drivers in my vm
How did you set up your grid? With docker image or jar file? You can watch the video below to see the one way of recording your execution. th-cam.com/video/Uteg0M_mPwU/w-d-xo.html
I always have to thank the indian guys... you're the best... big hug from Brazil...
Thank you! 😊
Do you have anything special configured on your VM?
Because from my local machine, when I run the webDriver to the VM:
driver = new RemoteWebDriver(new URL(urlRemote), options);
I get the following error:
"An error occurred while opening the browser: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. "
if some one have difficulties with running the tests in some of the browser - just add the --selenium-manager true to run command
so it will looks like:
java -jar selenium-server-4.14.1.jar standalone --selenium-manager true
Hi . Do you know why does a white screen\browser launches first when running tests using selenium grid in standalone mode ? It executes the tests in the grid but the appearance white screen \ browser is very annoying. Any help would be appreciated
Hi, does it happen with a specific web page or with all website?
Hi thanks for the video, i have a doubt, is there any way to stop the parallel execution in grid. i cant run my scripts parallel. It has to be executed one after other.
Yes, you can do your execution in a sequential order over Grid. By default Grid does not run the scripts in parallel. You need to make sure you are not running your test in parallel.
For example if you are using testng.xml file then you don't have to provide a parallel attribute.
Hi thanks for the reply. Just one more doubt
I am using webdriver manager in my framework. When i run the stand alone server jar i am getting no drivers has been configured or have been found on path.
How can i solve this error?
Download and keep drivers in path will solve the issue? Will it create any conflict with webdiver manager if i download driver manually and keep it on the path?
No, you don't need to download the driver manually now, if you're using webdriver manager. Could you please share the code where you are initiating a webdriver object?
My issues fixed after upgrading from selenium 4.11 to 4.16.1 it shows 8 chrome 8 edge in my computer.
In remote machine also i was getting the no driver found issue, so i manually downloaded a chrome driver and keep it in the folder of jar file, now it is showing 4 chrome drivers in my vm
How to add video recording to session in selenium grid, so the automation can be seen in selenium grid, not launch in local browser?
How did you set up your grid? With docker image or jar file?
You can watch the video below to see the one way of recording your execution.
th-cam.com/video/Uteg0M_mPwU/w-d-xo.html
How do you keep running the selenium server, when you close the cmd it will ended
You can run your jar file as a background process in the window server machine. You can refer to the articles to run jar files on the window server.
How to create that VM1, VM2 in our local machine??
Can you explain that ?
If you do not have VMs then I would suggest setting the Grid through the docker container.
You can watch the video below to set up the grid using docker.
th-cam.com/video/R_biPog5IYc/w-d-xo.html
Ok please tell us how to add this on Gitlab CI
Where do you see the reports?
Hi, how to do this using javascript webdriverIO?
Thank you!
thank you sir
Most welcome
Thanks!