Exception: Capybara::Apparition::MouseEventImpossible

Inherits:
MouseEventFailed show all
Defined in:
lib/capybara/apparition/errors.rb

Instance Attribute Summary

Attributes inherited from NodeError

#node

Attributes inherited from ClientError

#response

Instance Method Summary collapse

Methods inherited from NodeError

#initialize

Methods inherited from ClientError

#initialize

Constructor Details

This class inherits a constructor from Capybara::Apparition::NodeError

Instance Method Details

#messageObject



191
192
193
# File 'lib/capybara/apparition/errors.rb', line 191

def message
  "Firing a #{name} event is not possible since the element has no visible position on the page."
end

#nameObject



179
180
181
# File 'lib/capybara/apparition/errors.rb', line 179

def name
  response['args'][0]
end

#positionObject



187
188
189
# File 'lib/capybara/apparition/errors.rb', line 187

def position
  nil
end

#selectorObject



183
184
185
# File 'lib/capybara/apparition/errors.rb', line 183

def selector
  nil
end