Exception: Capybara::Lightpanda::InvalidSelector
- Defined in:
- lib/capybara/lightpanda/errors.rb
Instance Attribute Summary collapse
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#selector ⇒ Object
readonly
Returns the value of attribute selector.
Instance Method Summary collapse
-
#initialize(message, method = nil, selector = nil) ⇒ InvalidSelector
constructor
A new instance of InvalidSelector.
Constructor Details
#initialize(message, method = nil, selector = nil) ⇒ InvalidSelector
Returns a new instance of InvalidSelector.
66 67 68 69 70 |
# File 'lib/capybara/lightpanda/errors.rb', line 66 def initialize(, method = nil, selector = nil) @method = method @selector = selector super() end |
Instance Attribute Details
#method ⇒ Object (readonly)
Returns the value of attribute method.
64 65 66 |
# File 'lib/capybara/lightpanda/errors.rb', line 64 def method @method end |
#selector ⇒ Object (readonly)
Returns the value of attribute selector.
64 65 66 |
# File 'lib/capybara/lightpanda/errors.rb', line 64 def selector @selector end |