File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/main/java/javafxlibrary/keywords/AdditionalKeywords Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 41
41
import org .robotframework .javalib .annotation .RobotKeyword ;
42
42
import org .robotframework .javalib .annotation .RobotKeywordOverload ;
43
43
import org .robotframework .javalib .annotation .RobotKeywords ;
44
+ import org .testfx .robot .Motion ;
45
+
44
46
import java .lang .reflect .Method ;
45
47
import java .util .*;
46
48
import java .util .stream .Collectors ;
@@ -1118,7 +1120,7 @@ public void selectContextMenuItem(String item){
1118
1120
while (li .hasPrevious ()){
1119
1121
for (Node node : robot .rootNode ((Window )li .previous ()).lookupAll (".menu-item" )) {
1120
1122
if (getMenuItemText (node ).equals (item )) {
1121
- robot .clickOn (node );
1123
+ robot .clickOn (node , Motion . HORIZONTAL_FIRST );
1122
1124
return ;
1123
1125
}
1124
1126
}
You can’t perform that action at this time.
0 commit comments