Class: Aranha::Selenium::DriverFactory::Firefox
- Defined in:
- lib/aranha/selenium/driver_factory/firefox.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
Instance Method Summary collapse
Methods inherited from Base
#accept_insecure_certs?, #downloads_dir, #headless?, #initialize, #user_agent
Constructor Details
This class inherits a constructor from Aranha::Selenium::DriverFactory::Base
Instance Method Details
#build ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/aranha/selenium/driver_factory/firefox.rb', line 10 def build ::Selenium::WebDriver.for( :firefox, options: ::Selenium::WebDriver::Firefox::Options.new( profile: build_profile, args: build_args ), desired_capabilities: build_capabilities ) end |