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 4141import org .robotframework .javalib .annotation .RobotKeyword ;
4242import org .robotframework .javalib .annotation .RobotKeywordOverload ;
4343import org .robotframework .javalib .annotation .RobotKeywords ;
44+ import org .testfx .robot .Motion ;
45+
4446import java .lang .reflect .Method ;
4547import java .util .*;
4648import java .util .stream .Collectors ;
@@ -1118,7 +1120,7 @@ public void selectContextMenuItem(String item){
11181120 while (li .hasPrevious ()){
11191121 for (Node node : robot .rootNode ((Window )li .previous ()).lookupAll (".menu-item" )) {
11201122 if (getMenuItemText (node ).equals (item )) {
1121- robot .clickOn (node );
1123+ robot .clickOn (node , Motion . HORIZONTAL_FIRST );
11221124 return ;
11231125 }
11241126 }
You can’t perform that action at this time.
0 commit comments