Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium Grid: Error communicating with the remote browser. It may have died

I have two machines, one with all the stuff I need (Eclipse + TestNG +scripts) and the other one with just browsers installed. I use Selenium Grid 2.35.0.

Everything seems to be fine except the problem that very often I get this error: Error communicating with the remote browser. It may have died.

Scripts are not complicated at all, I run them one-by-one, so it just happens randomly. I don't think it's because of the browser. Any idea/fix? If you need more info I'm here.

like image 929
user1944151 Avatar asked Nov 01 '22 15:11

user1944151


1 Answers

The only time I get that error is when I manually close the browser myself. I would verify that the machine withe the browsers is stable.

It could also be due to calling driver.quit() and not instantiating another driver (I haven't ever done this, so I don't know what error this throws)

like image 131
Nathan Merrill Avatar answered Nov 19 '22 09:11

Nathan Merrill