Skip to content

Commit 5c7f26b

Browse files
authored
Merge pull request #510 from seleniumbase/fix-xpath-to-css-converter
Fix the xpath-to-css converter
2 parents 752adc5 + 40bf541 commit 5c7f26b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

seleniumbase/fixtures/xpath_to_css.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ def _get_raw_css_from_xpath(xpath):
103103
elif match['mattr']:
104104
if match["mvalue"].find(" ") != -1:
105105
match["mvalue"] = "\"%s\"" % match["mvalue"]
106-
attr = "[%s=%s]" % (match['mattr'].replace("@", ""),
107-
match['mvalue'])
106+
attr = '[%s="%s"]' % (match['mattr'].replace("@", ""),
107+
match['mvalue'])
108108
elif match['contained']:
109109
if match['cattr'].startswith("@"):
110110
attr = '[%s*="%s"]' % (match['cattr'].replace("@", ""),

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
setup(
4747
name='seleniumbase',
48-
version='1.35.9',
48+
version='1.35.10',
4949
description='Fast, Easy, and Reliable Browser Automation & Testing.',
5050
long_description=long_description,
5151
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)