Skip to content

Commit 2b9cd90

Browse files
committed
Fix the XPath-to-CSS converter
1 parent d2cd00c commit 2b9cd90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/fixtures/xpath_to_css.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import re
33

44
_sub_regexes = {
5-
"tag": r"([a-zA-Z][a-zA-Z0-9]{0,10}|\*)",
5+
"tag": r"([a-zA-Z][-a-zA-Z0-9]{0,31}|\*)",
66
"attribute": r"[.a-zA-Z_:][-\w:.]*(\(\))?)",
77
"value": r"\s*[\w/:][-/\w\s,:;.\S]*",
88
}

0 commit comments

Comments
 (0)