Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ These can be found on the automate accounts page on [BrowserStack](https://www.b

`export BROWSERSTACK_USERNAME=<browserstack-username>`

`export BROWSERSTACK_KEY=<browserstack-access-key>`
`export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>`


###Run tests
Expand Down
4 changes: 2 additions & 2 deletions test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ def setup
caps["browserstack.local"] = "false"
if caps['browserstack.local'] && caps['browserstack.local'] == 'true';
@bs_local = BrowserStack::Local.new
bs_local_args = { "key" => "#{BROWSERSTACK_KEY}", "forcelocal" => true }
bs_local_args = { "key" => "#{BROWSERSTACK_ACCESS_KEY}", "forcelocal" => true }
@bs_local.start(bs_local_args)
end

url = "http://#{BROWSERSTACK_USERNAME}:#{BROWSERSTACK_KEY}@hub.browserstack.com/wd/hub"
url = "http://#{BROWSERSTACK_USERNAME}:#{BROWSERSTACK_ACCESS_KEY}@hub.browserstack.com/wd/hub"
@driver = Selenium::WebDriver.for(:remote, :url => url, :desired_capabilities => caps)
end

Expand Down