| Conditions | 2 |
| Paths | 2 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 39 | private function getSelectOptionValues($select) |
||
| 40 | { |
||
| 41 | $select = new WebDriverSelect($this->webDriver->findElement( |
||
| 42 | WebDriverBy::cssSelector($select) |
||
| 43 | )); |
||
| 44 | |||
| 45 | $options = []; |
||
| 46 | |||
| 47 | foreach ($select->getOptions() as $option) { |
||
| 48 | $options[] = $option->getText(); |
||
| 49 | } |
||
| 50 | |||
| 51 | return $options; |
||
| 52 | } |
||
| 53 | } |
||
| 54 |