Class TouchWebDriverTestCase


public abstract class TouchWebDriverTestCase extends DockerWebDriverTestCase
A base class to test using a Touch Simulator to run a remote Docker WebDriver.
Author:
jumperchen
  • Field Details

    • FINGER

      protected org.openqa.selenium.interactions.PointerInput FINGER
  • Constructor Details

    • TouchWebDriverTestCase

      public TouchWebDriverTestCase()
  • Method Details

    • getWebDriverOptions

      protected final org.openqa.selenium.chrome.ChromeOptions getWebDriverOptions()
      Description copied from class: BaseTestCase
      Gets the WebDriver options. You can add arguments for Chromium to change settings like locale or user-agent string. A list of available options can be found at Capabilities & ChromeOptions.
      Overrides:
      getWebDriverOptions in class BaseTestCase
      Returns:
      WebDriver options
    • swipe

      public void swipe(org.openqa.selenium.Point start, org.openqa.selenium.Point end)
    • swipe

      public void swipe(org.openqa.selenium.Point start, org.openqa.selenium.Point end, int duration)
    • swipe

      public void swipe(org.openqa.selenium.WebElement start, org.openqa.selenium.WebElement end)
    • swipe

      public void swipe(org.openqa.selenium.WebElement start, org.openqa.selenium.WebElement end, int duration)
    • tap

      public void tap(org.openqa.selenium.Point point)
    • tap

      public void tap(org.openqa.selenium.Point point, int duration)
    • tap

      public void tap(org.openqa.selenium.WebElement start, int duration)
    • tap

      public void tap(org.openqa.selenium.WebElement start)
    • scrollTo

      public void scrollTo(int startX, int startY, int endX, int endY)
    • scroll

      public void scroll(org.openqa.selenium.WebElement target, int startY, int endY, int delta)
    • scroll

      public void scroll(org.openqa.selenium.WebElement target, int startY, int endY)