Class: Watir::Browser

Inherits:
Object
  • Object
show all
Defined in:
lib/angular_webdriver/protractor/watir_patch.rb

Overview

The main class through which you control the browser.

Instance Method Summary collapse

Instance Method Details

#assert_existsObject

Raises:

  • (Exception::Error)


160
161
162
163
# File 'lib/angular_webdriver/protractor/watir_patch.rb', line 160

def assert_exists
  # remove expensive window check
  raise Exception::Error, 'browser was closed' if @closed
end

#inspectObject



165
166
167
# File 'lib/angular_webdriver/protractor/watir_patch.rb', line 165

def inspect
  nil # avoid expensive browser url and title lookup
end