Skip to content

can't use TouchActions #434

Closed
Closed
@chenhuipeng1

Description

@chenhuipeng1

The problem

I want to run selenium tests on Android device and I'm using Appium, using chomedriver 76 version and chrome version 76.
I switch context from native to webview and i use selenium TouchActions, then it have an error "selenium.common.exceptions.WebDriverException: Message: unknown command: Cannot call non W3C standard command while in W3C mode"
After searching, i try add "appium: chromeOptions": {"w3c": False} in my webdriver capabilities, but it doesn't work

Environment

  • Appium version (or git revision) that exhibits the issue: 1.14.2
  • Node.js version (unless using Appium.app|exe): 10.16.2
  • Mobile platform/version under test: Android
  • Real device or emulator/simulator: vivoY85A

Link to Appium Logs

https://gist.github.com/chenhuipeng1/faa06b1f80b4802bba1e1de27654caaa

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions