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

Keywords which uses action chains are having a default 250ms timeout which cannot be overriden. #1768

Closed
johnpp143 opened this issue Jan 24, 2022 · 1 comment · Fixed by #1812 or #1819
Labels
acknowledge To be acknowledged in release notes enhancement priority: high
Milestone

Comments

@johnpp143
Copy link

johnpp143 commented Jan 24, 2022

The issue

Keywords that uses action chains like drag and drop and other mouse actions are using a default delay of 250ms. This causes these actions to be significantly slower.
In older chrome versions w3c actions were not default and hence these action chain class was not used.
In newer chrome versions these are used, but the keywords dont give an option to override this default timeout.
This becomes an issue for example when, we are doing multiple drag and drop in a page, each action takes about 500ms.

Error messages and additional information

image
image

Expected behavior and actual behavior

Ability to override the default action chain duration for a faster running script

Current behaviour has no option to override 250ms default delay.

Environment

Browser: Chrome 95
Browser driver: Chromedriver
Operating System: WIndows10
Libraries

  • Robot Framework: 4.0.0
  • Selenium: 4.1.0
  • SeleniumLibrary: 5.1.3
  • Interpreter: Python
@emanlove
Copy link
Member

@johnpp143 If you have a pull request that would be helpful.

rasjani added a commit to rasjani/SeleniumLibrary that referenced this issue Jan 19, 2023
rasjani added a commit to rasjani/SeleniumLibrary that referenced this issue Jan 19, 2023
rasjani added a commit to rasjani/SeleniumLibrary that referenced this issue Jan 19, 2023
rasjani added a commit to rasjani/SeleniumLibrary that referenced this issue Jan 19, 2023
rasjani added a commit to rasjani/SeleniumLibrary that referenced this issue Jan 19, 2023
Fixes robotframework#1768

Now includes utest for setter/getter and test that correct delay is
passed to ActionChains() constructor
@emanlove emanlove mentioned this issue Apr 27, 2023
@emanlove emanlove added priority: high acknowledge To be acknowledged in release notes and removed priority: medium labels Apr 30, 2023
@emanlove emanlove added this to the v6.1.0 milestone Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledge To be acknowledged in release notes enhancement priority: high
Projects
None yet
2 participants