Class: OperaWatir::Utils
Instance Method Summary collapse
- #binary_path ⇒ Object
- #core_version ⇒ Object
-
#initialize(browser) ⇒ Utils
constructor
A new instance of Utils.
- #os ⇒ Object
- #pid ⇒ Object
- #product ⇒ Object
- #user_agent ⇒ Object
Constructor Details
#initialize(browser) ⇒ Utils
Returns a new instance of Utils.
3 4 5 |
# File 'lib/operawatir/utils.rb', line 3 def initialize(browser) @utils = browser.driver.utils end |
Instance Method Details
#binary_path ⇒ Object
19 20 21 |
# File 'lib/operawatir/utils.rb', line 19 def binary_path @utils.getBinaryPath end |
#core_version ⇒ Object
7 8 9 |
# File 'lib/operawatir/utils.rb', line 7 def core_version @utils.getCoreVersion end |
#os ⇒ Object
11 12 13 |
# File 'lib/operawatir/utils.rb', line 11 def os @utils.getOS end |
#pid ⇒ Object
27 28 29 |
# File 'lib/operawatir/utils.rb', line 27 def pid @utils.getPID end |
#product ⇒ Object
15 16 17 |
# File 'lib/operawatir/utils.rb', line 15 def product @utils.getProduct end |
#user_agent ⇒ Object
23 24 25 |
# File 'lib/operawatir/utils.rb', line 23 def user_agent @utils.getUserAgent end |