Skip to content

[🐛 Bug]: isAndroid doesn't work in BrowserStack #11474

@Pi-fe

Description

@Pi-fe

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

8.16.20

Node.js Version

18.0.0

Mode

WDIO Testrunner

Which capabilities are you using?

capabilities: [
    {
      "bstack:options": {
        deviceName: "Samsung Galaxy S22 Ultra",
        platformVersion: "12.0",
        platformName: 'Android',
      },
    },
  ],
  commonCapabilities: {
    "bstack:options": {
      projectName: "Test suite",
      buildName: "Test1",
      debug: true,
      networkLogs: true,
    },
  },

What happened?

Hi, I saw #2325 this issue, but I have the same problem and
seems the problem is still there.
In BrowserStack driver.isAndroid doesn't run and consequentially all my "element id" isn't decleare.

Any solution?

What is your expected behavior?

No response

How to reproduce the bug.

To reproduce the bug just try driver.isAndroid command on browserstack

Relevant log output

The driver otuput is:
`......
[0-2]   isChrome: false,
[0-2]   isFirefox: false,
[0-2]   isMobile: false,
[0-2]   isIOS: false,
[0-2]   isAndroid: false,
[0-2]   isSauce: false,
[0-2]   isBidi: false,
.......`

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 🐛good first picka reasonable task to start getting familiar with the code basehelp 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