Small bump up to hook time to get more consistent test results.

This commit is contained in:
Jack Walker
2020-04-28 08:59:39 +10:00
parent 1784347dff
commit b0f6f02cb6
4 changed files with 4 additions and 7 deletions

View File

@@ -89,7 +89,7 @@ RSpec.describe 'BeEF Debug Command Modules:', :run_on_browserstack => true do
@driver.navigate.to "#{VICTIM_URL}"
# Give time for browser hook to occur
sleep 2.5
sleep 3
@hooks = JSON.parse(RestClient.get "#{RESTAPI_HOOKS}?token=#{@token}")
@session = @hooks['hooked-browsers']['online']['0']['session']