无法使用 Selenium Webdriver 打开具有指定 URL 的浏览器 [英] Unable to open browser with specified URL using Selenium Webdriver

查看:57
本文介绍了无法使用 Selenium Webdriver 打开具有指定 URL 的浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法在 selenium webdriver 中使用指定的 url 打开 firefox 浏览器.只有浏览器打开,没有网址.

Unable to open firefox browser with specified url in selenium webdriver. Only the browser is opening without the url.

Firefox 版本是 47.Selenium 版本是 2.53.

Firefox version is 47. Selenium version is 2.53.

推荐答案

有两种方法可以解决您的问题.

There are two ways to solve your problem.

1- 您可以通过重新安装并在您的 firefox 中选择 从不检查更新(不推荐:安全风险) 来降级您的 firefox导航通过

1- You can downgrade your firefox by reinstalling and select Never check for updates (not recommended: security risk) in your firefox by nevigate through

打开菜单->选项->高级.

2- 如果您想使用 firefox 的当前版本,即 47,您应该尝试使用 MarionetteDriver...通过遵循 这个

2- if you want to working with current version of firefox which is 47 you should try with MarionetteDriver...by following this

如果您对此有任何疑问,请告诉我...:)

If you have any problem with this let me know...:)

这篇关于无法使用 Selenium Webdriver 打开具有指定 URL 的浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆