devika icon indicating copy to clipboard operation
devika copied to clipboard

playwright._impl._errors.Error: It looks like you are using Playwright Sync API

Open anthonynovaes opened this issue 10 months ago • 7 comments

When I request something more complex from Devika, it returns this error to me. Also, create a ticket for this bug.

File "C:\Users\Anthony Novaes\AppData\Roaming\Python\Python312\site-packages\playwright\sync_api_context_manager.py", line 48, in enter raise Error( playwright._impl._errors.Error: It looks like you are using Playwright Sync API inside the asyncio loop. Please use the Async API instead.

anthonynovaes avatar Apr 01 '24 00:04 anthonynovaes

Same error here

metasanjaya avatar Apr 01 '24 06:04 metasanjaya

Samesiez

cafeTechne avatar Apr 01 '24 12:04 cafeTechne

Same here

jyonny-byte avatar Apr 01 '24 12:04 jyonny-byte

+1

jmtatsch avatar Apr 01 '24 13:04 jmtatsch

I fixed that in my branch. I can make a PR here

samuelbirocchi avatar Apr 01 '24 15:04 samuelbirocchi

You're the best! I spent the morning working on this!

cafeTechne avatar Apr 01 '24 16:04 cafeTechne

Thanks @samuelbirocchi

LeonieFreisinger avatar Apr 01 '24 18:04 LeonieFreisinger