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
19
19
20
20
Ctrl Click And Jumping Back Works
21
21
[Setup] Prepare File for Editing Python editor jump.py
22
+ Wait Until Fully Initialized
22
23
${usage } = Set Variable a_variable
23
24
${sel } = Set Variable xpath:(//span[contains(@class, 'cm-variable')][contains(text(), '${usage } ')])[last()]
24
25
Click Element ${sel }
25
26
${original } = Measure Cursor Position
26
27
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 }
28
30
Capture Page Screenshot 02-jumped.png
29
31
Wait Until Keyword Succeeds 10 x 1 s Cursor Should Jump ${original }
30
32
${new } = Measure Cursor Position
You can’t perform that action at this time.
0 commit comments