Is there support for python asyncio? #2283
Closed
autumn-calhoun
started this conversation in
General
Replies: 1 comment
-
I was able to resolve this issue by simply stopping the playwright instance at the end of each test/iteration (paywright.stop()) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use gauge python with playwright. Everything was going well using playwright's sync API until I tried creating a data driven test. Now the test fails on the second iteration due to the following error: "playwright._impl._api_types.Error: It looks like you are using Playwright Sync API inside the asyncio loop. Please use the Async API instead."
So I tried switching to the playwrights async API, as I didn't find anyway to get past the error using the sync API. But now I can't run anything because all the steps get the following error: "getgauge\executor.py:33: RuntimeWarning: coroutine 'login_as' was never awaited".
Does anyone have any suggestions on how to get past this?
Beta Was this translation helpful? Give feedback.
All reactions