File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
appium/webdriver/extensions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,6 @@ def context(self) -> str:
58
58
return self .current_context
59
59
60
60
def _add_commands (self ) -> None :
61
- self .command_executor .extra_commands [ Command .CONTEXTS ] = ( 'GET' , '/session/$sessionId/contexts' )
62
- self .command_executor .extra_commands [ Command .GET_CURRENT_CONTEXT ] = ( 'GET' , '/session/$sessionId/context' )
63
- self .command_executor .extra_commands [ Command .SWITCH_TO_CONTEXT ] = ( 'POST' , '/session/$sessionId/context' )
61
+ self .command_executor .add_command ( Command .CONTEXTS , 'GET' , '/session/$sessionId/contexts' )
62
+ self .command_executor .add_command ( Command .GET_CURRENT_CONTEXT , 'GET' , '/session/$sessionId/context' )
63
+ self .command_executor .add_command ( Command .SWITCH_TO_CONTEXT , 'POST' , '/session/$sessionId/context' )
You can’t perform that action at this time.
0 commit comments