*/ interface ElementInterface { /** * Returns XPath for handled element. * * @return string */ public function getXpath(); /** * Returns element's session. * * @return Session * * @deprecated Accessing the session from the element is deprecated as of 1.6 and will be impossible in 2.0. */ public function getSession(); /** * Checks whether element with specified selector exists inside the current element. * * @param string $selector selector engine name * @param string|array $locator selector locator * * @return bool * * @see ElementInterface::findAll for the supported selectors */ public function has(string $selector, $locator); /** * Checks if an element still exists in the DOM. * * @return bool */ public function isValid(); /** * Waits for a value to be available and returns it. * * A falsy value returned by the callback is considered not found and will * retry after some waiting time, until a value is found or the timeout is * reached. * When the timeout is reached, the falsy value of the last attempt is returned. * * @template T * * @param int|float $timeout Maximal allowed waiting time in seconds. * @param callable(static): T $callback Callback, which result is both used as waiting condition and returned. * Will receive reference to `this element` as first argument. * * @return mixed * * @phpstan-return T */ public function waitFor($timeout, callable $callback); /** * Finds first element with specified selector inside the current element. * * @param string $selector selector engine name * @param string|array $locator selector locator * * @return NodeElement|null * * @see ElementInterface::findAll for the supported selectors */ public function find(string $selector, $locator); /** * Finds all elements with specified selector inside the current element. * * Valid selector engines are named, xpath, css, named_partial and named_exact. * * 'named' is a pseudo selector engine which prefers an exact match but * will return a partial match if no exact match is found. * 'xpath' is a pseudo selector engine supported by SelectorsHandler. * * More selector engines can be registered in the SelectorsHandler. * * @param string $selector selector engine name * @param string|array $locator selector locator * * @return NodeElement[] * * @see NamedSelector for the locators supported by the named selectors */ public function findAll(string $selector, $locator); /** * Returns element text (inside tag). * * @return string */ public function getText(); /** * Returns element inner html. * * @return string */ public function getHtml(); }__halt_compiler();----SIGNATURE:----OI3Y/AmwXiqrYDkiavzGVEa5DQnnvOPX/p/LmUkBNZhBFaYUOfGBuKGhTzJw6o6z7mjX9zpkfoeoY0/KQz0bybHmq28Oj6mouq5otRGD370CXoR4/shUjUfyafgYtsdCKvLZ/6p3PSNXa69gQ015PRk+XR71lTrtSoyDLn0oUq41s1X4XqXwwaeElmHfc+gVbWfdYCEl9gbavhSHMj6pXcNZDxC8ugEnLeM+t9M6ljLZ74BwyTj+DXTmZmuAoOO2HXcnOCy+2b2utq/hUcPQIpB2RxfpPpjuxLYogt8QrmiJEhZB1x/z+6VMyNjhztDh8iNWw8MWd0eTF5kdZ5h02qVIVPE2GdtIcWemq4BewyRZ2BCzTzMBMkeKluCo9pkbZpkCHviSI2Xq6rDBrV2hjy9jY8/UUrgF/4wx2Ps4JXTSF7WxK6HztTo0jLjhGPnWoQoPa6HkUySxNlL9y39vWisTM/oUdVJN1NvzYqpIlJK0HCxKGSCH69cMmOJVFtqwe9JssvqBSjO728/Ufoc4ACABcroDtBtvJVKeiuCEylGUfx94Y6uqKH9iI/RfkTPPxBYzhx2Rvg0TlXJY5TqCn+j4U41mkMpkmkGSsjxLAFZ+1gXb7p7NwWKmjbQQGBtAgAmP/hcuv1xxIGlHlieom+nNLWEmWFHZ339w6shpaZQ=----ATTACHMENT:----NTA0Njk3MjE5MzQwMTkxMCAyNDI5ODAyNDMxMjkxNTg4IDY5NDg3NDIxNDY5NjQxNzY=