Skip to content

Commit 3570254

Browse files
committed
linting
1 parent ab64ac0 commit 3570254

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ def remove_authentication_handler(self, username,):
103103
session_unsubscribe(self.conn, self.EVENTS['auth_required'])
104104

105105
def add_request_handler(self, callback, url_pattern=''):
106-
"""
107-
Adds a request handler that executes a callback function when a request matches the given URL pattern.
106+
"""Adds a request handler that executes a callback function when a
107+
request matches the given URL pattern.
108108
109109
Parameters:
110110
callback (function): A function to be executed when url is matched by a URL pattern
@@ -143,8 +143,8 @@ def remove_request_handler(self, request_id):
143143
session_unsubscribe(self.conn, self.EVENTS['before_request'])
144144

145145
def add_response_handler(self, callback, url_pattern=''):
146-
"""
147-
Adds a response handler that executes a callback function when a response matches the given URL pattern.
146+
"""Adds a response handler that executes a callback function when a
147+
response matches the given URL pattern.
148148
149149
Parameters:
150150
callback (function): A function to be executed when url is matched by a url_pattern

0 commit comments

Comments
 (0)