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

[Feature] Ability to blacklist attributes or modify attribute preference in Codegen #28059

Closed
minhhai2209 opened this issue Nov 9, 2023 · 1 comment

Comments

@minhhai2209
Copy link

The Playwright code generation utility (codegen) is an incredibly useful tool for scripting browser interactions automatically by recording user actions. However, in its current state, the utility does not allow users to customize attribute preferences or blacklist certain attributes during the code generation process. This can lead to generated selectors that are overly specific, fragile, or tied to dynamic attributes that are likely to change.

@minhhai2209 minhhai2209 changed the title [Feature] Ability to Blacklist Attributes or Modify Attribute Preference in Codegen [Feature] Ability to blacklist attributes or modify attribute preference in Codegen Nov 9, 2023
@dgozman
Copy link
Contributor

dgozman commented Nov 9, 2023

Thank you for the issue! Folding into #9015.

@dgozman dgozman closed this as completed Nov 9, 2023
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