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
Context:
Command: npx folio .\xxx\xxx<testname.spec.ts> --param browserName=chromium --param headful
Code Snippet
Help us help you! Put down a short code snippet that illustrates your bug and that we can run and debug locally. For example:
//select service type async serviceType_select(serviceTypeToSelect: string) { return await this.page.selectOption('name="serviceType"', serviceTypeToSelect) }
Or, without inner quotes:
//select service type async serviceType_select(serviceTypeToSelect: string) { return await this.page.selectOption('name=serviceType', serviceTypeToSelect) }
Describe the bug
selectOption works fine with an id selector, but not with name attribute selector.
The text was updated successfully, but these errors were encountered:
@dcleve333 there's no name= selector. We currently support only a handful of attribute selectors:
name=
id
data-testid
data-test-id
data-test
We have docs regarding this, but I admit they're not clear. Let us fix them!
Sorry, something went wrong.
docs: more clarity in the attribute selectors
9f660ac
Fixes microsoft#5615
docs: more clarity in the attribute selectors (#5621)
b285936
Fixes #5615
docs: more clarity in the attribute selectors (microsoft#5621)
57fcc64
5d9356c
aslushnikov
dgozman
Successfully merging a pull request may close this issue.
Context:
Command: npx folio .\xxx\xxx<testname.spec.ts> --param browserName=chromium --param headful
Code Snippet
Help us help you! Put down a short code snippet that illustrates your bug and
that we can run and debug locally. For example:
Or, without inner quotes:
Describe the bug
selectOption works fine with an id selector, but not with name attribute selector.
The text was updated successfully, but these errors were encountered: