Deprecate PhantomJS support
@@ -30,6 +30,8 @@ module Selenium
include DriverExtensions::TakesScreenshot
def initialize(opts = {})
+ WebDriver.logger.deprecate 'Selenium support for PhantomJS', 'headless Chrome/Firefox'
+
opts[:desired_capabilities] ||= Remote::Capabilities.phantomjs
unless opts.key?(:url)
