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.
102 103 104 105 106 |
# File 'lib/capybara/lightpanda/errors.rb', line 102 def initialize(, method = nil, selector = nil) @method = method @selector = selector super() end |
Instance Attribute Details
#method ⇒ Object (readonly)
Returns the value of attribute method.
100 101 102 |
# File 'lib/capybara/lightpanda/errors.rb', line 100 def method @method end |
#selector ⇒ Object (readonly)
Returns the value of attribute selector.
100 101 102 |
# File 'lib/capybara/lightpanda/errors.rb', line 100 def selector @selector end |