File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
packages/selenium-ide/src/main/session/controllers/Menu/menus Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,30 @@ export const commandList: MenuComponent = (session) => async () => {
8686 label : pluralize ( 'Delete Command' , selectedCommandCount ) ,
8787 visible : false ,
8888 } ,
89+ {
90+ accelerator : 'CommandOrControl+Shift+A' ,
91+ click : async ( ) => {
92+ await session . api . tests . addSteps (
93+ sessionData . state . activeTestID ,
94+ Math . max ( 0 , getActiveCommandIndex ( sessionData ) ) ,
95+ [ { command : 'click' , target : '' , value : '' } ] ,
96+ )
97+ } ,
98+ enabled : true ,
99+ label : 'Append Command' ,
100+ } ,
101+ {
102+ accelerator : 'CommandOrControl+Shift+I' ,
103+ click : async ( ) => {
104+ await session . api . tests . addSteps (
105+ sessionData . state . activeTestID ,
106+ Math . max ( 0 , getActiveCommandIndex ( sessionData ) - 1 ) ,
107+ [ { command : 'click' , target : '' , value : '' } ] ,
108+ )
109+ } ,
110+ enabled : true ,
111+ label : 'Insert Command' ,
112+ } ,
89113 ]
90114}
91115
You can’t perform that action at this time.
0 commit comments