/** * Finds the first of elements that match the Windows UIAutomation selector supplied. * * @param selector a Windows UIAutomation selector * @return The first element that matches the given selector * @throws WebDriverException This method is not applicable with browser/webview UI. * @throws NoSuchElementException when no one element is found */ default T findElementByWindowsUIAutomation(String selector) { return findElement(MobileSelector.WINDOWS_UI_AUTOMATION.toString(), selector); }
/** * Finds the first of elements that match the Windows UIAutomation selector supplied. * * @param selector a Windows UIAutomation selector * @return The first element that matches the given selector * @throws WebDriverException This method is not applicable with browser/webview UI. * @throws NoSuchElementException when no one element is found */ default T findElementByWindowsUIAutomation(String selector) { return findElement(MobileSelector.WINDOWS_UI_AUTOMATION.toString(), selector); }