开发者

Selenium Error-- Can't be able to run Firefox

开发者 https://www.devze.com 2023-01-24 18:19 出处:网络
I am trying to run Selenium in Eclipse. When running as TestNG it is not able to open Firefox. It closes as soon as it opens. It shows \"Server not found\" in the Firefox and the session is null in co

I am trying to run Selenium in Eclipse. When running as TestNG it is not able to open Firefox. It closes as soon as it opens. It shows "Server not found" in the Firefox and the session is null in console. How to s开发者_JS百科olve this?


This error occurs when either:

-The version is incompatible

OR

-The installation path given in the code is wrong

OR

-The path to firefox has spaces in between (for selenium 3.0 above)

0

精彩评论

暂无评论...
验证码 换一张
取 消