Skip to content

Commit b4548c1

Browse files
committed
Fix xpath-to-css converter
1 parent 752adc5 commit b4548c1

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
@@ -103,7 +103,7 @@ 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("@", ""),
106+
attr = '[%s="%s"]' % (match['mattr'].replace("@", ""),
107107
match['mvalue'])
108108
elif match['contained']:
109109
if match['cattr'].startswith("@"):

0 commit comments

Comments
 (0)