diff --git a/arachni.gemspec b/arachni.gemspec index 58784e9692..4704128e88 100644 --- a/arachni.gemspec +++ b/arachni.gemspec @@ -103,9 +103,7 @@ Gem::Specification.new do |s| s.add_dependency 'terminal-table', '1.4.5' # Browser support for DOM/JS/AJAX analysis stuff. - # Lock webdriver, newer versions has issues. - s.add_dependency 'selenium-webdriver', '3.0.1' - s.add_dependency 'watir-webdriver', '0.8.0' + s.add_dependency 'watir', '6.2.1' # Markdown to HTML conversion, used by the HTML report for component # descriptions. diff --git a/lib/arachni/browser.rb b/lib/arachni/browser.rb index f4c7c43a9a..19d092074a 100644 --- a/lib/arachni/browser.rb +++ b/lib/arachni/browser.rb @@ -7,7 +7,7 @@ =end require 'childprocess' -require 'watir-webdriver' +require 'watir' require_relative 'selenium/webdriver/element' require_relative 'processes/manager' require_relative 'browser/element_locator' @@ -57,6 +57,11 @@ class Spawn < Error # @author Tasos "Zapotek" Laskos class Load < Error end + + # @author Tasos "Zapotek" Laskos + class MissingExecutable < Error + end + end # How much time to wait for the PhantomJS process to spawn before respawning. @@ -139,13 +144,27 @@ class <