You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to suggest an enhancement for the Playwright testing framework. Currently, when using the codegen/selector picker feature, it would be beneficial to have the ability to exclude certain types of selectors from being generated. For example, in cases where I am using a framework that assigns a unique ID to each element, I would like to disable the "#ids" selector option to prevent the codegen from randomly selecting one of these dynamically generated IDs.
Proposed Solution:
I propose two possible solutions to address this issue:
Ability to Eliminate Selectors: It would be helpful to have a configuration option or flag that allows users to specify certain types of selectors to be excluded from the codegen/selector picker. This way, I can indicate that the "#ids" selector should be ignored, and the codegen will not generate code using this selector type.
Selection Range of Available Selectors: Alternatively, providing a range of available selectors to choose from during code generation would also be beneficial. This would allow me to manually select the desired selector type from the available options, excluding the ones I do not wish to use, such as "#ids".
I believe these enhancements would greatly improve the flexibility and usability of the Playwright testing framework, especially in scenarios where specific selectors need to be ignored or selected manually.
examples how Aqua (Jetbrains Testing IDE) implemented an feature simular
The text was updated successfully, but these errors were encountered:
I would like to suggest an enhancement for the Playwright testing framework. Currently, when using the codegen/selector picker feature, it would be beneficial to have the ability to exclude certain types of selectors from being generated. For example, in cases where I am using a framework that assigns a unique ID to each element, I would like to disable the "#ids" selector option to prevent the codegen from randomly selecting one of these dynamically generated IDs.
Proposed Solution:
I propose two possible solutions to address this issue:
Ability to Eliminate Selectors: It would be helpful to have a configuration option or flag that allows users to specify certain types of selectors to be excluded from the codegen/selector picker. This way, I can indicate that the "#ids" selector should be ignored, and the codegen will not generate code using this selector type.
Selection Range of Available Selectors: Alternatively, providing a range of available selectors to choose from during code generation would also be beneficial. This would allow me to manually select the desired selector type from the available options, excluding the ones I do not wish to use, such as "#ids".
I believe these enhancements would greatly improve the flexibility and usability of the Playwright testing framework, especially in scenarios where specific selectors need to be ignored or selected manually.
examples how Aqua (Jetbrains Testing IDE) implemented an feature simular
The text was updated successfully, but these errors were encountered: