Debugging last 2/5 failing tests

This commit is contained in:
Jack Walker
2020-04-23 12:39:52 +10:00
parent faaac279c1
commit 788623227b

View File

@@ -81,7 +81,7 @@ RSpec.describe 'BeEF WebSockets enabled', :run_on_browserstack => true do
@driver.navigate.to "#{VICTIM_URL}"
# Give time for browser hook to occur
sleep 2
sleep 4
@hooks = JSON.parse(RestClient.get "#{RESTAPI_HOOKS}?token=#{@token}")
@session = @hooks['hooked-browsers']['online']