Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Can not read property '<element-id>' of undefined #37

Open
abhinaba-ghosh opened this issue Mar 11, 2022 · 1 comment
Open

Getting Can not read property '<element-id>' of undefined #37

abhinaba-ghosh opened this issue Mar 11, 2022 · 1 comment

Comments

@abhinaba-ghosh
Copy link

Hi Team,

I am using this code snippet -

    const { getByLabelText } = setupBrowser(browser);
    const button = await getByLabelText('username');
    await button.waitForDisplayed();

Getting error as -
Screenshot 2022-03-11 at 4 53 40 PM

Using WebdriverIO dep version -

 "@wdio/cli": "7.7.5",
 "@wdio/devtools-service": "7.7.5",
 "@wdio/junit-reporter": "7.7.5",
 "@wdio/local-runner": "7.7.5",
 "@wdio/mocha-framework": "7.7.5",
 "@testing-library/webdriverio": "^3.0.5",
@olivierwilkinson
Copy link
Collaborator

Hi @abhinaba-ghosh,

Thanks for raising this 😄 I'm not sure what the issue right now but it looks like it might be related to the dev tools service. I'll try to have a look into this week 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants