Пример #1
0
 /**
  * Test an element for visibility.
  *
  * @param Element $element Element to test
  *
  * @return bool
  */
 protected function checkVisibility(Element $element)
 {
     // Zombie.js does not support visibility checks; just assume true.
     return $this->isZombieDriver() ? true : $element->isVisible();
 }
Пример #2
0
 /**
  * Test an element for visibility.
  *
  * @param Element $element Element to test
  *
  * @return bool
  */
 protected function checkVisibility(Element $element)
 {
     return $element->isVisible();
 }