Skip to content

Commit be6ab2a

Browse files
authored
Merge pull request #2194 from seleniumbase/fix-xpath-to-css-converter
Fix the XPath-to-CSS converter
2 parents d2cd00c + c461c68 commit be6ab2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

seleniumbase/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# seleniumbase package
2-
__version__ = "4.20.2"
2+
__version__ = "4.20.3"

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)