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 bf9203e commit 34063b0Copy full SHA for 34063b0
seleniumbase/utilities/selenium_ide/convert_ide.py
@@ -427,6 +427,14 @@ def main():
427
if data:
428
whitespace = data.group(1)
429
xpath = '%s' % data.group(2)
430
+ if './/*[normalize-space(text())' in xpath and (
431
+ "normalize-space(.)='" in xpath):
432
+ x_match = re.match(
433
+ r'''^[\S\s]+normalize-'''
434
+ r'''space\(\.\)=\'([\S\s]+)\'\]\)[\S\s]+''', xpath)
435
+ if x_match:
436
+ partial_link_text = x_match.group(1)
437
+ xpath="partial_link=%s" % partial_link_text
438
uni = ""
439
if '(u"' in line:
440
uni = "u"
0 commit comments