public class DriverLegacy extends Object
| Constructor and Description |
|---|
DriverLegacy() |
| Modifier and Type | Method and Description |
|---|---|
static EnhancedBy |
getEnhancedElement(org.openqa.selenium.WebElement target) |
protected static String[] |
getLocator(org.openqa.selenium.WebElement element)
retrieves locator values from a webElement
|
static String[] |
getLocatorThroughParsing(String element)
attempt to get the locator from WebElement through parsing the toString()
|
static void |
setDriver(org.openqa.selenium.WebDriver driver)
set the webDriver from webDriver or mobileDriver without relying on global flag
|
static void |
setDriver(org.openqa.selenium.WebDriver driver,
boolean isPropertyDisabled,
int timeoutSec,
int implicitSec) |
protected static EnhancedBy |
setEnhancedElement(String selector,
String value) |
public static EnhancedBy getEnhancedElement(org.openqa.selenium.WebElement target)
protected static String[] getLocator(org.openqa.selenium.WebElement element)
element - public static String[] getLocatorThroughParsing(String element)
element - public static void setDriver(org.openqa.selenium.WebDriver driver)
public static void setDriver(org.openqa.selenium.WebDriver driver,
boolean isPropertyDisabled,
int timeoutSec,
int implicitSec)
protected static EnhancedBy setEnhancedElement(String selector, String value)
Copyright © 2022. All rights reserved.