Skip to content

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

@johnpp143

Description

@johnpp143

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

Activity

emanlove

emanlove commented on Jan 24, 2022

@emanlove
Member

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

added a commit that references this issue on Jan 19, 2023
f0bc739
added 4 commits that reference this issue on Jan 19, 2023
6a3750b
db6433b
a57a0d3
a79b35d
added this to the v6.1.0 milestone on Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Participants

      @emanlove@johnpp143

      Issue actions

        Keywords which uses action chains are having a default 250ms timeout which cannot be overriden. · Issue #1768 · robotframework/SeleniumLibrary