We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d6ef8b commit d8e6d0bCopy full SHA for d8e6d0b
src/SelfHealing/utils.py
@@ -111,7 +111,7 @@ def xpath_to_browser(xpath):
111
if isinstance(part.attributes, list) and len(part.attributes) == 1:
112
nth = re.findall(r'\[(\d+)\]', part.attributes[0])
113
if nth:
114
- tag = cssify(f"{part.element.strip("()")}")
+ tag = cssify(f'{part.element.strip("()")}')
115
converted_parts.append(f"css={tag}")
116
converted_parts.append(f"nth={int(nth[0])-1}")
117
else:
0 commit comments