appium / appium/java-client

Error running on MAC - Cannot call non W3C standard command while in W3C mode

Open
#1,364 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

Hello everyone

I have my test automation script and when i run it on Windows. It works perfectly. But when i try to run it on MAC it fails with the following error:

Cannot call non W3C standard command while in W3C mode

I am running an hybrid app so I am using a chromedriver and run it as webView.

Appium Desktop (server): 1.17.1

Dependencies on build gradle:
implementation 'io.appium:java-client:master-SNAPSHOT'

My properties with capabilities are:
serenity.take.screenshots.for.tasks=AFTER_EACH_STEP
serenity.take.screenshots.for.interactions=FOR_FAILURES
serenity.take.screenshots.for.questions=BEFORE_AND_AFTER_EACH_STEP
serenity.report.encoding=UTF-8
serenity.compress.filenames=false
serenity.test.root=net.thucydides.showcase.cucumber.junit
serenity.verbose.steps=FALSE
serenity.use.unique.browser=false
feature.file.encoding=UTF-8
webdriver.timeouts.implicitlywait = 30000
webdriver.wait.for.timeout = 30000
webdriver.driver=appium
appium.platformName=Android
appium.hub=http://127.0.0.1:4723/wd/hub
appium.appPackage=com.proyecto6
appium.appActivity=com.MainActivity
appium.app=
appium.noReset=true
appium.newCommandTimeout=120
appium.autoWebview=true
appium.enablePerformanceLogging=true
appium.autoWebviewTimeout=20000
appium.chromedriverExecutable = /Users/t1qamdemac4/Documents/project/src/test/resources/driver/chromedriver
appium.adbExecTimeout = 30000
appium.platformVersion =7.0
appium.deviceName = 85b6523638553857

As i wrote at the begining on Windows it runs well but on MacOS isn`t.

Thanks if anybody can help me.

@mykola-mokhnach

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reproducing the hybrid-app run on macOS with Appium Desktop 1.17.1 and the listed Java client, WebView, and Chromedriver settings, then compare it with the Windows setup. Done means identifying the platform-specific W3C-mode incompatibility and documenting a verified configuration or reproduction boundary.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, macos
Domain
mobile, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.