Skip to content

feat(mcp): add delay options to browser_mouse_click_xy (#39368)#39465

Merged
dgozman merged 1 commit intomicrosoft:mainfrom
oleksii-tumanov:main
Mar 3, 2026
Merged

feat(mcp): add delay options to browser_mouse_click_xy (#39368)#39465
dgozman merged 1 commit intomicrosoft:mainfrom
oleksii-tumanov:main

Conversation

@oleksii-tumanov
Copy link
Contributor

seems for 39368 we missed delay option that helps to have more human like clicks. Can we add it?

Copy link
Member

@yury-s yury-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the scenario where one would need this option?

@oleksii-tumanov
Copy link
Contributor Author

What is the scenario where one would need this option?

There are scenarios where we need it:

  1. In the UI we have a long click actions for specific cases/additional menu
  2. For the UI tests/discovery by agent I'm trying to have a human-like behavior with delays for all actions. At lease 20-40 ms delay can be useful for clicks (page.mouse.click supports it already so we just transfer that option).

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

Test results for "MCP"

5146 passed, 171 skipped


Merge workflow run.

Copy link
Contributor

@dgozman dgozman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you.

@dgozman dgozman merged commit ac3d22d into microsoft:main Mar 3, 2026
19 of 21 checks passed
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

Successfully merging this pull request may close these issues.

3 participants