(
attr_name: str, text: Union[str, Pattern[str]], exact: bool = None
)
| 919 | |
| 920 | |
| 921 | def get_by_attribute_text_selector( |
| 922 | attr_name: str, text: Union[str, Pattern[str]], exact: bool = None |
| 923 | ) -> str: |
| 924 | return f"internal:attr=[{attr_name}={escape_for_attribute_selector(text, exact=exact)}]" |
| 925 | |
| 926 | |
| 927 | def get_by_label_selector(text: Union[str, Pattern[str]], exact: bool = None) -> str: |
no test coverage detected