Method: Selenium::WebDriver::Support::Guards::Guard#only?

Defined in:
lib/selenium/webdriver/support/guards/guard.rb

#only?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Bug is present on all configurations not specified

Returns:

  • (Boolean)

71
72
73
# File 'lib/selenium/webdriver/support/guards/guard.rb', line 71

def only?
  @type == :only
end