added default value to injector tab run_async

This commit is contained in:
tza
2022-04-14 00:01:35 +03:00
parent 6694d5ab71
commit de435e22fb
+1 -1
View File
@@ -31,7 +31,7 @@ class Tab:
return (await self.websocket.receive_json()) if receive else None
raise RuntimeError("Websocket not opened")
async def evaluate_js(self, js, run_async):
async def evaluate_js(self, js, run_async=False):
await self.open_websocket()
res = await self._send_devtools_cmd({
"id": 1,