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

[Feature] Would like to be able to set a default Action Timeout in runsettings #2444

Open
ThomasPoucher opened this issue Jan 6, 2023 · 3 comments

Comments

@ThomasPoucher
Copy link

ThomasPoucher commented Jan 6, 2023

Currently when using methods such as ClickAsync the timeout seems to be infinite unless specified through an options class when calling the method. I've had a look at the different timeout options on the Page object and also runsettings and these do not seem to impact the methods such as ClickAsync and ElementHandleAsync. I have however noticed that the NodeJS playwright has an ActionTimeout in the documentation https://playwright.dev/docs/test-timeouts#test-timeout

It would be great if we were able to set the action timeout in the runsettings file for our NUnit tests and potentially on the browser/page objects to prevent any potential test hangs and give feedback faster when creating tests if a locator is incorrect. Thanks

@Luke-Stevens423
Copy link

Use these methods a lot too and this feature would be greatly appreciated :)

@romanresh
Copy link

It would be a nice option for us as well. Looking forward for it.

@hpatel292-seneca
Copy link

Hi @mxschmitt, can I work on this??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants