Skip to content

Commit fa69772

Browse files
committed
Clean up xpath-to-css converter code
1 parent 5164319 commit fa69772

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

seleniumbase/fixtures/xpath_to_css.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ def _handle_brackets_in_strings(xpath):
5252
new_xpath += chunks[chunk_num]
5353
if chunk_num != len_chunks - 1:
5454
new_xpath += '"'
55-
xpath = new_xpath
56-
return xpath
55+
return new_xpath
5756

5857

5958
def _filter_xpath_grouping(xpath):

0 commit comments

Comments
 (0)