Skip to content

Commit db91e6c

Browse files
committed
Add additional shortcuts for partial_link_text selectors
1 parent 85bdad4 commit db91e6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

seleniumbase/fixtures/page_utils.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ def is_partial_link_text_selector(selector):
5656
selector.startswith("partial_link=")
5757
or selector.startswith("partial_link_text=")
5858
or selector.startswith("partial_text=")
59+
or selector.startswith("p_link=")
60+
or selector.startswith("p_link_text=")
61+
or selector.startswith("p_text=")
5962
):
6063
return True
6164
return False

0 commit comments

Comments
 (0)