Use Microsoft Edge dev channel
This commit is contained in:
parent
2f2d822471
commit
b8cf5da33f
|
@ -117,7 +117,7 @@ matrix:
|
|||
addons:
|
||||
homebrew:
|
||||
taps: homebrew/cask-versions
|
||||
casks: microsoft-edge-canary
|
||||
casks: microsoft-edge-dev
|
||||
before_install:
|
||||
- wget https://msedgewebdriverstorage.blob.core.windows.net/edgewebdriver/76.0.168.0/edgedriver_mac64.zip
|
||||
- unzip edgedriver_mac64.zip -d /usr/local/bin
|
||||
|
|
|
@ -6,8 +6,12 @@ require 'shared_selenium_session'
|
|||
require 'shared_selenium_node'
|
||||
require 'rspec/shared_spec_matchers'
|
||||
|
||||
Selenium::WebDriver::Edge::Service.driver_path = '/usr/local/bin/msedgedriver'
|
||||
Selenium::WebDriver::EdgeChrome.path = '/Applications/Microsoft Edge Canary.app/Contents/MacOS/Microsoft Edge Canary'
|
||||
unless ENV['CI']
|
||||
Selenium::WebDriver::Edge::Service.driver_path = '/usr/local/bin/msedgedriver'
|
||||
Selenium::WebDriver::EdgeChrome.path = '/Applications/Microsoft Edge Canary.app/Contents/MacOS/Microsoft Edge Canary'
|
||||
end
|
||||
|
||||
Webdrivers::Edgedriver.required_version = '76.0.168' if ENV['CI']
|
||||
|
||||
Capybara.register_driver :selenium_edge do |app|
|
||||
# ::Selenium::WebDriver.logger.level = "debug"
|
||||
|
|
Loading…
Reference in New Issue