Exception: Castanaut::Exceptions::ElementOffScreen

Inherits:
CastanautError
  • Object
show all
Defined in:
lib/plugins/safari.rb

Overview

When getting an element’s coordinates, this is raised if the element is found, but cannot be shown on the screen. Normally, we automatically scroll to an element that is currently off-screen, but sometimes that might not be possible (such as if the element is display: none).