*/ class ElementNotFoundException extends ExpectationException { /** * Initializes exception. * * @param DriverInterface|Session $driver driver instance * @param string|null $type element type * @param string|null $selector element selector type * @param string|null $locator element locator */ public function __construct($driver, ?string $type = null, ?string $selector = null, ?string $locator = null) { $message = ''; if (null !== $type) { $message .= ucfirst($type); } else { $message .= 'Tag'; } if (null !== $locator) { if (null === $selector || in_array($selector, array('css', 'xpath'))) { $selector = 'matching '.($selector ?: 'locator'); } else { $selector = 'with '.$selector; } $message .= ' '.$selector.' "'.$locator.'"'; } $message .= ' not found.'; parent::__construct($message, $driver); } }__halt_compiler();----SIGNATURE:----Vt3mrapSNhg77z9UaJyMelAOMOGETDODKY2FQUa7rWdqGyKL5zTeYO7iP1lZCelwly+LPIiSZA9yQ3jAqj34mZE4IhNzIbXy8x/ybk4Nf7YSXadUpf4CGgAaTLpKlisJe7cgS3fksZEdwH2gUvFUK07QbhhCTx4WL2qEN7QD0Zv/wkLMLvEhes+DZALmq57Ec6j1uPp83Fd0y95D+H/PR7CFDFYMZkvJUlu3Ow8a1sjq5idWHirneJ394IRSyJLN47KhXIJ3E3Usw9/y+xPVXEMONRrnWg1oWRV6x0dKqy3E6Y1t89vuXFSbOEdQP+AeO01gXt5Ie88o9SJC9XJsyRaJ/FKxkz3QNuzHf3Qfxzfr20bc5aFgA4lAxt5VYimR3h/74SGu5RkNydpK/f4THw3PzeAX01CrZEoa52fxpitJ0Expo9sK6tcnM9Qrh3GBbL+6sN7swXEjVMVo+kQvGa3rEjW89Hh3YhFe5KPNF1BsMhAZHqRcZw8VHyB9ibQ6n4y49CkJ/7/D7qPhhK7mRDFgb1FCTGTEBXrMP4S+qSauQhSZZ9KjY0nOfNzKlCL7b1HoV58hPnMIg9x2CdQ5pTPEqtRx70Hp1V4XFE/+zQcwfmFWlaq9xhm+t8AxKCZ4aiI7Qh6T0pasg0a94yqpr0rrSuJEmQVF99/bFpOsamU=----ATTACHMENT:----OTA0NTg3MjA5MzcwOTA2NyA2MzczNzkxNzk4NzE1OTY1IDY1NjE5Mzc4ODIxMTQ0ODE=