*/ 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:----hnIdk34dyF/eJfDMxSawrwmnfhtbYTSd1eLJEckkcDPlH1ySMGA8Rw9AS1+fmTiUH547JQ55YwiBRRMmoqkqwNjW9+QqEmQ21TbxSFC8N/NOJUOU1v492Wqd6kipRrzCZHvbmxugYaVFWMgfSzRIuwwtPx5Jom2ofpmejjryYiyK5+SlqT0swF6QoymUyndQzw8JMqQc0qBzQeth72oHJaYQv+CwTAEt8n9oDa5dW/pL17pzu/ci62tFAk907ULX3Lw2NICYtSRKLBnP7R2MWW0belaaldm6N7OyrSa3IqBqb0Pgqu4GDifDIJLlUl6lmSJJzD2wwfu1+afhNUWD5pNy7Sp5lkV0/LK5fhfW8o/EzLmP4mJDmiK49XCK/p0li8TECtRCIdvylpQN3tqUn/BL5TU4kd108hnmezwvD2hO9zZEINu8p+uw8CAV46ugfNBxghsCUHqPdqravkDVhdSG+KX3MatlfbyNgvuE6vdhQgbVLYBbY1VFjrMcsDdbV9M3cdht2o+FCBx5O4mT6jOZhaNAm6O7UjNzuu6EM0SUmBU9DA58BcevnxYjT7lkeLf8vIPplwx6I2vYweElNZa+CO78RyGcWMApp36LVyFWokD4zye3Rro7umfFb990TbhE+Z0B2Ip0GMtioGx8lyZ+XVnFFw/h0kvHXhyk1uY=----ATTACHMENT:----NzI5MjgwODI2MjM1OTg3NCAxNTY0MDA3MDM0MjkwNzU2IDU5OTM1NTEzMTc4MDEzNTA=