Skip to content

[🐛 Bug]: waitForDisplayed driver's method stop working for Mobile Native app automation after upgrading to v8.23.2 #11704

@AntRybalko

Description

@AntRybalko

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

latest

Node.js Version

latest

Mode

Standalone Mode

Which capabilities are you using?

N/A

What happened?

waitForDisplayed driver method stop working for Mobile Native app after updating to v8.23.2

What is your expected behavior?

waitForDisplayed method should correctly wait with specified timeout for element by specified locator

How to reproduce the bug.

Run any available Native Mobile App automation using Appium and try to execute waitForDisplayed() method for any element by specified locator
Check WDIO logs

Relevant log output

2023-11-20T19:42:26.835Z DEBUG webdriver: request failed due to response error: unknown method
2023-11-20T19:42:26.835Z WARN webdriver: Request failed with status 405 due to Method is not implemented
2023-11-20T19:42:26.835Z INFO webdriver: Retrying 1/1
2023-11-20T19:42:26.835Z INFO webdriver: [POST] http://0.0.0.0:4111/session/88b21497-e536-4201-87b0-75e093273aa6/execute/sync
2023-11-20T19:42:26.835Z INFO webdriver: DATA {
  script: 'isElementDisplayed(...) [8007 bytes]',
  args: [
    {
      'element-6066-11e4-a52e-4f735466cecf': '58000000-0000-0000-F206-000000000000',
      ELEMENT: '58000000-0000-0000-F206-000000000000'
    }
  ]
}

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Metadata

Metadata

Labels

Bug 🐛help wantedIssues that are free to take by anyone interested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions