Fixed BrowserStack timeout error handling.

This commit is contained in:
Jack Walker
2020-05-15 11:41:13 +10:00
parent 45f6595bda
commit 0375acd7f8
2 changed files with 1 additions and 3 deletions
@@ -126,7 +126,6 @@ RSpec.describe 'BeEF Debug Command Modules:', :run_on_browserstack => true do
rescue => exception
if exception.class == NoMethodError && exception.message.include?('Failed to open TCP connection')
print_info "Encountered possible false negative timeout error checking exception."
expect(exception).to include('hub-cloud.browserstack.com:80')
else
print_info "Error closing BrowserStack connection: #{exception}"
end
@@ -11,5 +11,4 @@ browser_caps:
"browser": "safari"
"browser_version": "13.0"
"os": "osx"
"os_version": "catalina"
"browserstack.selenium_version": "3.5.2"
"os_version": "catalina"