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

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

问题描述

无法使用Selenium Webdriver中指定的URL打开Firefox浏览器.仅浏览器在没有URL的情况下打开.

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

Firefox版本为47. 硒版本为2.53.

Firefox version is 47. Selenium version is 2.53.

推荐答案

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

There are two ways to solve your problem.

1-您可以通过重新安装来降级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天全站免登陆