Class: Aranha::Selenium::DriverFactory::Chrome

Inherits:
Base
  • Object
show all
Defined in:
lib/aranha/selenium/driver_factory/chrome.rb

Constant Summary

Constants inherited from Base

Base::DEFAULT_ACCEPT_INSECURE_CERTS, Base::DEFAULT_DOWNLOADS_DIR, Base::DEFAULT_HEADLESS, Base::DEFAULT_USER_AGENT

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#accept_insecure_certs?, #downloads_dir, #headless?, #initialize, #profile_dir, #profile_name, #user_agent

Constructor Details

This class inherits a constructor from Aranha::Selenium::DriverFactory::Base

Instance Method Details

#buildObject



9
10
11
# File 'lib/aranha/selenium/driver_factory/chrome.rb', line 9

def build
  ::Selenium::WebDriver.for :chrome, options: chrome_options
end