| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function elementIsVisible($selectorType, $selector, Element $container = null) |
||
| 21 | { |
||
| 22 | $node = $this->elementExists($selectorType, $selector, $container); |
||
| 23 | |||
| 24 | if (true !== $node->isVisible()) { |
||
| 25 | throw new \LogicException('Element is not visible - selector: '.$selector); |
||
| 26 | } |
||
| 27 | |||
| 28 | return $node; |
||
| 29 | } |
||
| 30 | /** |
||
| 51 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.