Skip to content

[🐛 Bug]: WaitForClickable errors on Android tablet Samsung browsers #14819

@kevin-longmate

Description

@kevin-longmate

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

9.20

Node.js Version

22.8

Mode

Standalone Mode

Which capabilities are you using?

"browserName" : "samsung",
   'bstack:options' : {
     "osVersion" : "14.0",
     "deviceName" : "Samsung Galaxy Tab A9 Plus",
     "userName" : "...",
     "accessKey" : "...",
  }

What happened?

Since version 9.20, the waitForClickable() command on Samsung browser on an android device throws an error - Error: The waitForClickable command is only available for desktop and mobile browsers.

It isn't recognising that I'm using a web browser and not a mobile app. This is fine on Chrome on an android tablet but fails with the Samsung browser

I believe it's related to this change
#14744

What is your expected behavior?

waitForClickable() should be allowed on the samsung browser on a samsung tablet

How to reproduce the bug.

Using samsung browser on an android tablet, run any code with await $(element).waitForClickable() in it

Relevant log output

Error: The `waitForClickable` command is only available for desktop and mobile browsers.

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

Assignees

No one assigned

    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