File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,14 @@ Python Jumps between Files
1919
2020Ctrl Click And Jumping Back Works
2121 [Setup] Prepare File for Editing Python editor jump.py
22+ Wait Until Fully Initialized
2223 ${usage } = Set Variable a_variable
2324 ${sel } = Set Variable xpath:(//span[contains(@class, 'cm-variable')][contains(text(), '${usage } ')])[last()]
2425 Click Element ${sel }
2526 ${original } = Measure Cursor Position
2627 Capture Page Screenshot 01-ready-to-jump.png
27- Click Element ${sel } modifier=CTRL
28+ ${key } = Evaluate 'COMMAND' if platform.system() == 'Darwin' else 'CTRL' platform
29+ Click Element ${sel } modifier=${key }
2830 Capture Page Screenshot 02-jumped.png
2931 Wait Until Keyword Succeeds 10 x 1 s Cursor Should Jump ${original }
3032 ${new } = Measure Cursor Position
You can’t perform that action at this time.
0 commit comments