Skip to content

Exception is thrown when using TouchAction().longPress() more than once. #365

@BrantK

Description

@BrantK

Description

Exception is thrown when using TouchAction().longPress() more than once. Doesn't occur when just using TouchAction().press(). Logs didn't really provide any information. I see there's a note about TouchAction being fixed but didn't see an issue for the longPress.

Environment

  • java client revision: b511c35
  • Appium v1.5.1
  • Node.js v4.2.6
  • Android 6.0.1 device
  • Real device

Code To Reproduce Issue

Repro:

TouchAction action = new TouchAction(driver);
        try {
            action.longPress(0, 0).release().perform();
            action.longPress(0, 0).release().perform();
        } catch (Exception e) {
            e.printStackTrace();
        }

Exception stacktraces

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. (WARNING: The server did not provide any stacktrace information)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions