@@ -111,8 +111,11 @@ protected override void InitializeCommandDictionary()
111
111
this . TryAddCommand ( DriverCommand . GetElementLocation , new CommandInfo ( CommandInfo . GetCommand , "/session/{sessionId}/element/{id}/location" ) ) ;
112
112
this . TryAddCommand ( DriverCommand . GetElementLocationOnceScrolledIntoView , new CommandInfo ( CommandInfo . GetCommand , "/session/{sessionId}/element/{id}/location_in_view" ) ) ;
113
113
this . TryAddCommand ( DriverCommand . ElementEquals , new CommandInfo ( CommandInfo . GetCommand , "/session/{sessionId}/element/{id}/equals/{other}" ) ) ;
114
- this . TryAddCommand ( DriverCommand . GetWindowPosition , new CommandInfo ( CommandInfo . GetCommand , "/session/{sessionId}/window/{windowHandle}/position" ) ) ;
115
- this . TryAddCommand ( DriverCommand . SetWindowPosition , new CommandInfo ( CommandInfo . PostCommand , "/session/{sessionId}/window/{windowHandle}/position" ) ) ;
114
+ this . TryAddCommand ( DriverCommand . GetWindowPosition , new CommandInfo ( CommandInfo . GetCommand , "/session/{sessionId}/window/position" ) ) ;
115
+ this . TryAddCommand ( DriverCommand . SetWindowPosition , new CommandInfo ( CommandInfo . PostCommand , "/session/{sessionId}/window/position" ) ) ;
116
+ this . TryAddCommand ( DriverCommand . GetWindowSize , new CommandInfo ( CommandInfo . GetCommand , "/session/{sessionId}/window/size" ) ) ;
117
+ this . TryAddCommand ( DriverCommand . SetWindowSize , new CommandInfo ( CommandInfo . PostCommand , "/session/{sessionId}/window/size" ) ) ;
118
+ this . TryAddCommand ( DriverCommand . MaximizeWindow , new CommandInfo ( CommandInfo . PostCommand , "/session/{sessionId}/window/maximize" ) ) ;
116
119
this . TryAddCommand ( DriverCommand . GetOrientation , new CommandInfo ( CommandInfo . GetCommand , "/session/{sessionId}/orientation" ) ) ;
117
120
this . TryAddCommand ( DriverCommand . SetOrientation , new CommandInfo ( CommandInfo . PostCommand , "/session/{sessionId}/orientation" ) ) ;
118
121
this . TryAddCommand ( DriverCommand . ImplicitlyWait , new CommandInfo ( CommandInfo . PostCommand , "/session/{sessionId}/timeouts/implicit_wait" ) ) ;
0 commit comments