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 6d531b8 commit 124e61eCopy full SHA for 124e61e
1 file changed
seleniumbase/undetected/cdp_driver/connection.py
@@ -639,12 +639,14 @@ async def listener_loop(self):
639
or inspect.iscoroutine(callback)
640
):
641
try:
642
- asyncio.create_task(callback(event, self))
+ asyncio.create_task(
643
+ callback(event, self.connection)
644
+ )
645
except TypeError:
646
asyncio.create_task(callback(event))
647
else:
648
- callback(event, self)
649
650
651
callback(event)
652
except Exception as e:
0 commit comments