org.openqa.selenium.remote.RemoteTouchScreen Java Examples

The following examples show how to use org.openqa.selenium.remote.RemoteTouchScreen. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ChromiumDriver.java    From selenium with Apache License 2.0 5 votes vote down vote up
protected ChromiumDriver(CommandExecutor commandExecutor, Capabilities capabilities, String capabilityKey) {
  super(commandExecutor, capabilities);
  locationContext = new RemoteLocationContext(getExecuteMethod());
  webStorage = new RemoteWebStorage(getExecuteMethod());
  touchScreen = new RemoteTouchScreen(getExecuteMethod());
  networkConnection = new RemoteNetworkConnection(getExecuteMethod());

  HttpClient.Factory factory = HttpClient.Factory.createDefault();
  connection = ChromiumDevToolsLocator.getChromeConnector(
      factory,
      getCapabilities(),
      capabilityKey);
  devTools = connection.map(DevTools::new);
}
 
Example #2
Source File: QAFExtendedWebDriver.java    From qaf with MIT License 4 votes vote down vote up
@Override
public TouchScreen getTouchScreen() {
	return new RemoteTouchScreen(getExecuteMethod());
}
 
Example #3
Source File: WebDriverInterface.java    From candybean with GNU Affero General Public License v3.0 4 votes vote down vote up
public SwipeableWebDriver(URL remoteAddress,
		Capabilities desiredCapabilities) {
	super(remoteAddress, desiredCapabilities);
	touch = new RemoteTouchScreen(getExecuteMethod());
}
 
Example #4
Source File: SugarAndroidTest.java    From candybean with GNU Affero General Public License v3.0 4 votes vote down vote up
public SwipeableWebDriver(URL remoteAddress, Capabilities desiredCapabilities) {
    super(remoteAddress, desiredCapabilities);
    touch = new RemoteTouchScreen(getExecuteMethod());
}
 
Example #5
Source File: AppiumAndroidTest.java    From candybean with GNU Affero General Public License v3.0 4 votes vote down vote up
public SwipeableWebDriver(URL remoteAddress, Capabilities desiredCapabilities) {
    super(remoteAddress, desiredCapabilities);
    touch = new RemoteTouchScreen(getExecuteMethod());
}
 
Example #6
Source File: EvernoteAndroidTest.java    From candybean with GNU Affero General Public License v3.0 4 votes vote down vote up
public SwipeableWebDriver(URL remoteAddress,
		Capabilities desiredCapabilities) {
	super(remoteAddress, desiredCapabilities);
	touch = new RemoteTouchScreen(getExecuteMethod());
}
 
Example #7
Source File: SugarAndroidTest.java    From candybean with GNU Affero General Public License v3.0 4 votes vote down vote up
public SwipeableWebDriver(URL remoteAddress, Capabilities desiredCapabilities) {
    super(remoteAddress, desiredCapabilities);
    touch = new RemoteTouchScreen(getExecuteMethod());
}
 
Example #8
Source File: AppiumIosTest.java    From candybean with GNU Affero General Public License v3.0 4 votes vote down vote up
public SwipeableWebDriver(URL remoteAddress, Capabilities desiredCapabilities) {
    super(remoteAddress, desiredCapabilities);
    touch = new RemoteTouchScreen(getExecuteMethod());
}