Class: Aranha::Selenium::DriverFactory::Base
- Inherits:
-
Object
- Object
- Aranha::Selenium::DriverFactory::Base
- Defined in:
- lib/aranha/selenium/driver_factory/base.rb
Instance Method Summary collapse
- #accept_insecure_certs? ⇒ Boolean
- #build ⇒ Object
- #downloads_dir ⇒ Object
- #headless? ⇒ Boolean
- #profile_dir ⇒ Object
- #profile_name ⇒ Object
- #user_agent ⇒ Object
Instance Method Details
#accept_insecure_certs? ⇒ Boolean
22 23 24 |
# File 'lib/aranha/selenium/driver_factory/base.rb', line 22 def accept_insecure_certs? option_value(:accept_insecure_certs) end |
#build ⇒ Object
14 15 16 |
# File 'lib/aranha/selenium/driver_factory/base.rb', line 14 def build raise 'Must be overrided' end |
#downloads_dir ⇒ Object
18 19 20 |
# File 'lib/aranha/selenium/driver_factory/base.rb', line 18 def downloads_dir option_value(:downloads_dir) end |
#headless? ⇒ Boolean
26 27 28 |
# File 'lib/aranha/selenium/driver_factory/base.rb', line 26 def headless? option_value(:headless) end |
#profile_dir ⇒ Object
30 31 32 |
# File 'lib/aranha/selenium/driver_factory/base.rb', line 30 def profile_dir [:profile_dir].to_s end |
#profile_name ⇒ Object
34 35 36 |
# File 'lib/aranha/selenium/driver_factory/base.rb', line 34 def profile_name [:profile_name] end |
#user_agent ⇒ Object
38 39 40 |
# File 'lib/aranha/selenium/driver_factory/base.rb', line 38 def user_agent option_value(:user_agent) end |