Separated Selenium driver + BrowserStack code based on hook loadtime

This commit is contained in:
Jack Walker
2020-04-23 10:54:51 +10:00
parent 5ee6ac4126
commit f82d4645d5
2 changed files with 10 additions and 0 deletions

View File

@@ -2006,3 +2006,11 @@ To test HTML files, run:
Example:
./BrowserStackLocal --key DsVSdoJPBi2z44sbGFx1 --folder /Applications/MAMP/htdocs/example/
BrowserStackLocal v7.6
You can now access your local server(s) in our remote browser.
Press Ctrl-C to exit

View File

@@ -118,6 +118,8 @@ RSpec.describe 'BeEF Debug Command Modules:', :run_on_browserstack => true do
end
after(:all) do
puts @driver
puts @driver.methods.sort
@driver.quit
# Code to stop browserstack local after end of test