Debugging travis
This commit is contained in:
@@ -1974,3 +1974,11 @@ You can now access your local server(s) in our remote browser.
|
|||||||
Press Ctrl-C to exit
|
Press Ctrl-C to exit
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
BrowserStackLocal v7.6
|
||||||
|
|
||||||
|
You can now access your local server(s) in our remote browser.
|
||||||
|
|
||||||
|
Press Ctrl-C to exit
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ require 'rest-client'
|
|||||||
require 'yaml'
|
require 'yaml'
|
||||||
require 'selenium-webdriver'
|
require 'selenium-webdriver'
|
||||||
require 'browserstack/local'
|
require 'browserstack/local'
|
||||||
|
require 'byebug'
|
||||||
|
|
||||||
# Require supports
|
# Require supports
|
||||||
Dir['spec/support/*.rb'].each do |f|
|
Dir['spec/support/*.rb'].each do |f|
|
||||||
@@ -82,6 +83,7 @@ RSpec.configure do |config|
|
|||||||
@caps['browserstack.localIdentifier'] = ENV['BROWSERSTACK_LOCAL_IDENTIFIER']
|
@caps['browserstack.localIdentifier'] = ENV['BROWSERSTACK_LOCAL_IDENTIFIER']
|
||||||
end
|
end
|
||||||
|
|
||||||
|
puts @caps['browserstack.localIdentifier']
|
||||||
@driver = Selenium::WebDriver.for(:remote,
|
@driver = Selenium::WebDriver.for(:remote,
|
||||||
:url => "http://#{CONFIG['user']}:#{CONFIG['key']}@#{CONFIG['server']}/wd/hub",
|
:url => "http://#{CONFIG['user']}:#{CONFIG['key']}@#{CONFIG['server']}/wd/hub",
|
||||||
:desired_capabilities => @caps)
|
:desired_capabilities => @caps)
|
||||||
|
|||||||
Reference in New Issue
Block a user