We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
New to both webdriverio and chai-webdriverio.
I am using something like
var linkToArticleSelector = "a[href='link-to-article']" expect(linkToArticleSelector).to.be.there();
While this works as expected, is there a way to deal with nested/scoped selectors?
Let's say the link was in the header on the page. I'd like to assert that the link was indeed within the header.
e.g
expect(header).to.have.selector(linkToArticleSelector)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
New to both webdriverio and chai-webdriverio.
I am using something like
While this works as expected, is there a way to deal with nested/scoped selectors?
Let's say the link was in the header on the page. I'd like to assert that the link was indeed within the header.
e.g
expect(header).to.have.selector(linkToArticleSelector)
The text was updated successfully, but these errors were encountered: