File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
py/selenium/webdriver/remote Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ class Command:
2626 https://w3c.github.io/webdriver/
2727 """
2828
29+ ADD_INTERCEPT : str = "network.addIntercept"
30+ REMOVE_INTERCEPT : str = "network.removeIntercept"
31+ CONTINUE_RESPONSE : str = "network.continueResponse"
32+ CONTINUE_REQUEST : str = "network.continueRequest"
33+ CONTINUE_WITH_AUTH : str = "network.continueWithAuth"
2934 NEW_SESSION : str = "newSession"
3035 DELETE_SESSION : str = "deleteSession"
3136 NEW_WINDOW : str = "newWindow"
Original file line number Diff line number Diff line change 3636LOGGER = logging .getLogger (__name__ )
3737
3838remote_commands = {
39+ Command .ADD_INTERCEPT : ("POST" , "/session/$sessionId/network/intercept" ),
40+ Command .REMOVE_INTERCEPT : ("DELETE" , "/session/$sessionId/network/intercept/$intercept" ),
41+ Command .CONTINUE_RESPONSE : ("POST" , "/session/$sessionId/network/response/$requestId" ),
42+ Command .CONTINUE_REQUEST : ("POST" , "/session/$sessionId/network/request/$requestId" ),
43+ Command .CONTINUE_WITH_AUTH : ("POST" , "/session/$sessionId/network/auth" ),
3944 Command .NEW_SESSION : ("POST" , "/session" ),
4045 Command .QUIT : ("DELETE" , "/session/$sessionId" ),
4146 Command .W3C_GET_CURRENT_WINDOW_HANDLE : ("GET" , "/session/$sessionId/window" ),
You can’t perform that action at this time.
0 commit comments