findElement()
findElement(\WebDriverBy $locator) : \WebDriverElement
Find the first WebDriverElement within this element using the given mechanism.
Parameters
| \WebDriverBy | $locator |
Returns
\WebDriverElement —NoSuchElementException is thrown in HttpCommandExecutor if no element is found.