chg: properly set cookies

playwright
Raphaël Vinot 2022-04-24 20:17:54 +03:00
parent 680eb1b309
commit c93a6c307d
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ class AsyncCapture(AbstractManager):
await capture.prepare_capture(proxy=proxy)
else:
await capture.prepare_capture()
capture.cookies = cookies
capture.prepare_cookies(cookies)
capture.user_agent = ua
if headers:
capture.http_headers = headers