/** * 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(); }
/** * Test an element for visibility. * * @param Element $element Element to test * * @return bool */ protected function checkVisibility(Element $element) { return $element->isVisible(); }