File tree 1 file changed +3
-3
lines changed
integrations/selenium_ide
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ def main():
256
256
if '(u"' in line :
257
257
uni = "u"
258
258
has_unicode = True
259
- command = '''%sself.click_link_text (%s"%s")''' % (
259
+ command = '''%sself.click (%s"link= %s")''' % (
260
260
whitespace , uni , link_text )
261
261
seleniumbase_lines .append (command )
262
262
continue
@@ -468,7 +468,7 @@ def main():
468
468
# quote_type = data.group(1)
469
469
link_text = data .group (2 )
470
470
if int (line_num ) < num_lines - 2 :
471
- regex_string = (r'''^\s*self.click_link_text \(["|']'''
471
+ regex_string = (r'''^\s*self.click \(["|']link= '''
472
472
+ re .escape (link_text ) + r'''["|']\)\s*$''' )
473
473
data2 = re .match (regex_string , lines [line_num + 1 ])
474
474
if data2 :
@@ -489,7 +489,7 @@ def main():
489
489
out_file = codecs .open (converted_file_name , "w+" )
490
490
out_file .writelines (seleniumbase_code )
491
491
out_file .close ()
492
- print ("%s successfully created from %s\n " % (
492
+ print ('>>> "%s" successfully created from %s\n ' % (
493
493
converted_file_name , webdriver_python_file ))
494
494
495
495
You can’t perform that action at this time.
0 commit comments