add a test and remove the screenshot code

This commit is contained in:
Stephen
2024-03-28 08:19:09 +10:00
parent 6ea6e8d434
commit 6ee901724f

View File

@@ -65,6 +65,8 @@ class BeefTest
def self.new_victim(victim = nil)
victim = Capybara::Session.new(:selenium_headless) if victim.nil?
victim.visit(VICTIM_URL)
victim.has_content?('You should be hooked into BeEF.', wait: 10)
# self.save_screenshot(victim, "./")
victim
end
end