Skip to content

Commit d9fe883

Browse files
committed
formatting
1 parent 1e1c8d1 commit d9fe883

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

py/selenium/webdriver/common/bidi/network.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def has_callbacks(self):
5555

5656
def __add_intercept(self, phases=None, contexts=None, url_patterns=None):
5757
"""Add an intercept to the network.
58-
58+
5959
Parameters:
6060
----------
6161
phases (list, optional): A list of phases to intercept.
@@ -82,7 +82,7 @@ def __add_intercept(self, phases=None, contexts=None, url_patterns=None):
8282

8383
def __remove_intercept(self, intercept=None, request_id=None):
8484
"""Remove an intercept from the network.
85-
85+
8686
Parameters:
8787
----------
8888
intercept (str, optional): The intercept to remove.
@@ -109,7 +109,7 @@ def __remove_intercept(self, intercept=None, request_id=None):
109109

110110
def __continue_with_auth(self, request_id, username, password):
111111
"""Continue with authentication.
112-
112+
113113
Parameters:
114114
----------
115115
request_id (str): The request ID of the intercepted response.
@@ -127,13 +127,13 @@ def __continue_with_auth(self, request_id, username, password):
127127
self.conn.execute(self._command_iterator(command))
128128

129129
def __on(self, event, callback):
130-
"""Set a callback function to subscribe to a network event.
131-
130+
"""Set a callback function to subscribe to a network event.
131+
132132
Parameters:
133133
----------
134134
event (str): The event to subscribe to.
135135
callback (function): The callback function to execute on event.
136-
136+
137137
Returns:
138138
-------
139139
str: The request ID of the intercepted response.
@@ -147,7 +147,7 @@ def __on(self, event, callback):
147147

148148
def __handle_event(self, event, data):
149149
"""Perform callback function on event.
150-
150+
151151
Parameters:
152152
event (str): The event to perform callback function on.
153153
data (dict): The data to pass to the callback function.
@@ -157,7 +157,7 @@ def __handle_event(self, event, data):
157157

158158
def add_authentication_handler(self, username, password):
159159
"""Adds an authentication handler.
160-
160+
161161
Parameters:
162162
----------
163163
username (str): The username to use for authentication.
@@ -213,7 +213,7 @@ def callback_on_url_match(data):
213213

214214
def remove_request_handler(self, request_id):
215215
"""Removes a request handler.
216-
216+
217217
Parameters:
218218
----------
219219
request_id (str): The request ID of the intercepted response.
@@ -262,7 +262,7 @@ def callback_on_url_match(data):
262262

263263
def remove_response_handler(self, response_id):
264264
"""Removes a response handler.
265-
265+
266266
Parameters:
267267
----------
268268
response_id (str): The request ID of the intercepted response.

0 commit comments

Comments
 (0)