-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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]: Allow overriding default Actions duration #12118
Comments
i see python can change in init , it like class c# and I think it's been around for quite a while https://github.com/SeleniumHQ/selenium/blob/ae655baf5086ccf25eaa840eff4038c4bd79014b/py/selenium/webdriver/common/action_chains.py#L71C1-L71C1 |
Yes, this can be adjusted everywhere except for Java now. |
This issue is looking for contributors. Please comment below or reach out to us through our IRC/Slack/Matrix channels if you are interested. |
@titusfortner I am a newbie to open source contributions, are you fine, if I start working on this issue? |
@titusfortner please check the changes n pull request above
|
I haven't looked at this code in quite a while, but I suspect it will be similar in approach to what @nvborisenko did here: https://github.com/SeleniumHQ/selenium/pull/13229/files |
Thank you for the code example. I made similar changes in the Actions class. However, I'm still unclear why some waits with a duration of 250ms are replaced with a class property, while others are not. Would it be correct to replace all 250ms waits with waits from a class property and let the tests run? If all the tests pass, would this guarantee that the custom waits are working as expected? |
#14085 is merged |
Good call, thank you, @iampopovich! |
This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs. |
Feature and motivation
Add a constructor to Actions class to adjust duration. For reference, Appium prefers 50ms to the default 250ms
Putting it in Actions constructor is much lower impact than adding the parameter to each method.
This applies to .NET & Java as other bindings allow changing it.
(I'm splitting this out from #10724 so we can close that one)
Usage example
The text was updated successfully, but these errors were encountered: