Java 类org.openqa.selenium.remote.html5.RemoteWebStorage 实例源码
项目:domui
文件:MyChromeDriver.java
public MyChromeDriver(ChromeDriverService service, Capabilities capabilities) {
super(new MyChromeDriverCommandExecutor(service), capabilities);
this.locationContext = new RemoteLocationContext(this.getExecuteMethod());
this.webStorage = new RemoteWebStorage(this.getExecuteMethod());
this.touchScreen = new RemoteTouchScreen(this.getExecuteMethod());
this.networkConnection = new RemoteNetworkConnection(this.getExecuteMethod());
}
项目:grid-refactor-remote-server
文件:Utils.java
static WebStorage getWebStorage(WebDriver driver) {
return convert(driver, WebStorage.class, CapabilityType.SUPPORTS_WEB_STORAGE,
RemoteWebStorage.class);
}