在这篇文章中,我们将为您详细介绍MicrosoftEdge浏览器是否可以使用SeleniumWebDriver?的内容,并且讨论关于edge浏览器能用吗的相关问题。此外,我们还会涉及一些关于cucum
在这篇文章中,我们将为您详细介绍Microsoft Edge浏览器是否可以使用Selenium WebDriver?的内容,并且讨论关于edge浏览器能用吗的相关问题。此外,我们还会涉及一些关于cucumber; Selenium WebDriver-如何使用Google Chrome浏览器代替Firefox作为测试浏览器、Edge浏览器怎么设置自动登录Microsoft Edge Edge浏览器设置自动登录 Microsoft Edge的方法、Microsoft Edge浏览器如何切换IE-Edge浏览器切换成IE浏览器的方法、Microsoft Edge浏览器如何看历史记录-Microsoft Edge浏览器看历史记录的方法的知识,以帮助您更全面地了解这个主题。
本文目录一览:- Microsoft Edge浏览器是否可以使用Selenium WebDriver?(edge浏览器能用吗)
- cucumber; Selenium WebDriver-如何使用Google Chrome浏览器代替Firefox作为测试浏览器
- Edge浏览器怎么设置自动登录Microsoft Edge Edge浏览器设置自动登录 Microsoft Edge的方法
- Microsoft Edge浏览器如何切换IE-Edge浏览器切换成IE浏览器的方法
- Microsoft Edge浏览器如何看历史记录-Microsoft Edge浏览器看历史记录的方法
Microsoft Edge浏览器是否可以使用Selenium WebDriver?(edge浏览器能用吗)
截至本文发布之日,名称“ Microsoft Edge”才被正式宣布为新Windows 10的默认浏览器。
问这个问题还为时过早,但是我想知道是否有新的Selenium WebDriver可用,如果没有,是否有任何信息可以告诉我们我们期望等到开发出来再等多久?
(Windows 10的技术预览版已经发布,因此在我看来这并不是一个愚蠢的问题。)
答案1
小编典典是的,Microsoft
Edge有一个WebDriver实现。它的首次发布于2015年7月23日宣布。Selenium开源项目中的语言绑定已更新,以利用此驱动程序实现,并且这些更新已在Selenium
2.47中发布。请注意,Java语言绑定已重新发布为2.47.1,以更正最初的问题。最初的实现功能有限,但是Microsoft致力于实现全功能的驱动程序实现,因此将进行更新。
cucumber; Selenium WebDriver-如何使用Google Chrome浏览器代替Firefox作为测试浏览器
对于我的Rails 3.1应用程序上的Cucumber场景,我使用了@javascript标记,因此Selenium已激活。我收到以下错误:
Could not find Firefox binary (os=macosx). Make sure Firefox is installed or set the path manually with Selenium::WebDriver::Firefox::Binary.path= (Selenium::WebDriver::Error::WebDriverError)
如果可能的话,我想使用Google Chrome浏览器作为浏览器-而不是Firefox(我尚未安装)。这可能吗?该怎么办?
实际上,Cucumber / Selenium不应检测并使用浏览器吗?
====编辑====
添加后
Capybara.register_driver :selenium do |app|
Capybara::Selenium::Driver.new(app,:browser => :chrome)
end
…到features / support / env.rb,我现在收到此错误:
Unable to find the chromedriver executable. Please download the server from http://code.google.com/p/chromium/downloads/list and place it somewhere on your PATH. More info at http://code.google.com/p/selenium/wiki/ChromeDriver. (Selenium::WebDriver::Error::WebDriverError)
./features/step_definitions/web_steps.rb:45:in `/^(?:|I )am on (.+)$/'
features/update_memories.feature:11:in `Given I am on the home page'
我是从这里下载的,并且尝试将chromedriver可执行文件放在/
usr / bin中,但是仍然出现上述错误。
====编辑2 ====
进一步执行以下步骤并运行“ sudo chmod + x / usr / bin / chromedriver”后,在运行黄瓜之后,我现在收到一个新错误:
@javascript
Scenario: navigate to memory update page from home page # features/update_memories.feature:11
Given I am on the home page # features/step_definitions/web_steps.rb:44
unable to connect to chromedriver http://127.0.0.1:57870 (Selenium::WebDriver::Error::WebDriverError)
./features/step_definitions/web_steps.rb:45:in `/^(?:|I )am on (.+)$/'
features/update_memories.feature:12:in `Given I am on the home page'
When I activate the edit memory switch for the memory "I played" # features/step_definitions/memories/memory_steps.rb:5
Then I should be on the edit memory page for the memory "I played" # features/step_definitions/web_steps.rb:187
PGError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
: ROLLBACK (ActiveRecord::StatementInvalid)
帮助赞赏!越来越近…
Edge浏览器怎么设置自动登录Microsoft Edge Edge浏览器设置自动登录 Microsoft Edge的方法
以上就是Edge浏览器怎么设置自动登录Microsoft Edge Edge浏览器设置自动登录 Microsoft Edge的方法的详细内容,更多请关注php中文网其它相关文章!
Microsoft Edge浏览器如何切换IE-Edge浏览器切换成IE浏览器的方法
还不会将Microsoft Edge浏览器切换成IE浏览器吗?其实很简单,还不会的朋友赶紧来和小编一起学习一下将Microsoft Edge浏览器切换成IE浏览器的方法哦,希望通过本篇教程的学习,可以帮助到大家。
首先,打开Microsoft Edge浏览器,进入下图界面

接着,点击下图框内“...”图标

点击下图框内“更多工具”选项

点击下图框内“使用IE打开”

这样就进入到了IE界面

以上就小编分享的将Microsoft Edge浏览器切换成IE浏览器的方法,还不会的朋友可以来学习一下哦。
Microsoft Edge浏览器如何看历史记录-Microsoft Edge浏览器看历史记录的方法
php小编子墨为您介绍如何在microsoft
,第一步:打开Edge浏览器,这个浏览器在一般在程序栏里。

在左上角找到中心键,在这里就可以看到你的历史记录了。

上面还有下载项,收藏夹,阅读列表。

以上就是Microsoft Edge浏览器如何看历史记录-Microsoft Edge浏览器看历史记录的方法的详细内容,更多请关注php中文网其它相关文章!
今天关于Microsoft Edge浏览器是否可以使用Selenium WebDriver?和edge浏览器能用吗的介绍到此结束,谢谢您的阅读,有关cucumber; Selenium WebDriver-如何使用Google Chrome浏览器代替Firefox作为测试浏览器、Edge浏览器怎么设置自动登录Microsoft Edge Edge浏览器设置自动登录 Microsoft Edge的方法、Microsoft Edge浏览器如何切换IE-Edge浏览器切换成IE浏览器的方法、Microsoft Edge浏览器如何看历史记录-Microsoft Edge浏览器看历史记录的方法等更多相关知识的信息可以在本站进行查询。
本文标签: