class Selenium::WebDriver::Driver

Public Instance Methods

bridge() click to toggle source
# File lib/angular_webdriver/protractor/webdriver_patch.rb, line 19
def bridge
  @bridge
end
max_page_wait_seconds() click to toggle source

Gets the wait time in seconds used when loading pages with protractor.get

Defaults to 30 seconds

@return [Numeric] the wait time in seconds

# File lib/angular_webdriver/protractor/webdriver_patch.rb, line 57
def max_page_wait_seconds
  @max_page_wait || 30
end
max_wait_seconds() click to toggle source

Returns the wait time in seconds used when locating elements and waiting for angular to load.

# File lib/angular_webdriver/protractor/webdriver_patch.rb, line 39
def max_wait_seconds
  @bridge.max_wait_seconds || 0
end
protractor() click to toggle source
# File lib/angular_webdriver/protractor/webdriver_patch.rb, line 11
def protractor
  @bridge.protractor
end
protractor=(protractor_object) click to toggle source
# File lib/angular_webdriver/protractor/webdriver_patch.rb, line 15
def protractor= protractor_object
  @bridge.protractor = protractor_object
end
set_max_page_wait(value) click to toggle source

Sets the wait time in seconds used when loading pages with protractor.get

@param value [Numeric] the amount of time to wait in seconds

@return [Numeric] the wait time in seconds

# File lib/angular_webdriver/protractor/webdriver_patch.rb, line 48
def set_max_page_wait value
  @max_page_wait = value
end
set_max_wait(value) click to toggle source

Sets the wait time in seconds used when locating elements and waiting for angular towww.youtube.com/watch?v=o9c3U5_8tGY load.

@param value [Numeric] the amount of time to wait in seconds

@return [Numeric] the wait time in seconds

# File lib/angular_webdriver/protractor/webdriver_patch.rb, line 31
def set_max_wait value
  @bridge.set_max_wait value
end