We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac9e411 commit fd171d1Copy full SHA for fd171d1
py/selenium/webdriver/remote/websocket_connection.py
@@ -79,7 +79,7 @@ def execute(self, command):
79
return self._deserialize_result(result, command)
80
81
def add_callback(self, event, callback):
82
- self.add_callback_with_sequence(event, lambda _, x: callback(x))
+ return self.add_callback_with_sequence(event, lambda _, x: callback(x))
83
84
def add_callback_with_sequence(self, event, callback):
85
event_name = event.event_class
0 commit comments