-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Question]: Custom test id attr #21877
Comments
Yes, the docs are currently wrong for the language ports. In Python you can use e.g. the |
Yep, that's what I ended up doing. Any plans on supporting a config similar to the JS counterpart though? |
We have a feature request for it here: microsoft/playwright-pytest#69 |
Merging into microsoft/playwright-pytest#69 |
Your question
I would like to configure custom date test attribute, but the docs seem to confuse me a bit. It shall be possible to specify via a test config (not able to find anything related to this, a hyperlink would solve this) or via
playwright.selectors.set_test_id_attribute
which is also not clear where it's coming from.After a bit of digging, I found out the
playwright
obj is a fixture so maybe something that could be better described in the docs as well?The text was updated successfully, but these errors were encountered: