mirror of
https://github.com/beefproject/beef
synced 2026-06-08 13:15:56 +00:00
Fixed BrowserStack timeout error handling.
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user