Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Is it any plans for async interfaces? #242

Closed
ocherniavskyi-lohika-tix opened this issue Feb 1, 2021 · 2 comments
Closed

[Question] Is it any plans for async interfaces? #242

ocherniavskyi-lohika-tix opened this issue Feb 1, 2021 · 2 comments

Comments

@ocherniavskyi-lohika-tix

Currently when video record is enabled closing context taking additional 15-20 second, so im curious will async operation be available in neares future or maybe there is a way to dissmiss video recording (like when test passed there is no need of video)

@yury-s
Copy link
Member

yury-s commented Feb 1, 2021

There are no plans to add async API in java (lack of async/awai makes it really cumbersome to write async code like we do in typescript). That said context closure taking that long is not acceptable, do you have an example where it happens? Which browsers experience this problem?

There is a similar upstream bug report so I'd like to collect more information about the scenarios, we'd much rather make the recording always faster without extra params but if that fails being able to dismiss video on context closure is also an option.

@yury-s
Copy link
Member

yury-s commented Feb 2, 2021

Closing this issue as there are no plans to add async APIs at the moment and the video problem is tracked upstream (microsoft/playwright#5051) and will be addressed there.

@yury-s yury-s closed this as completed Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants