Skip to content

[Feature Request] Add automatic wait option after navigation actions #1065

@Nemo64

Description

@Nemo64

Problem Description

Currently, many navigation actions require a waiting period until the next page is actually available. This creates unnecessary tool calls because the navigation tool call initially returns nothing, forcing the LLM to intelligently re-read the page content.

Feature Request

It would be helpful to have an option to automatically wait (e.g., 1 second) after each navigation action. This would:

  • Reduce context usage: Fewer tool calls needed to achieve the same result
  • Reduce tool call count: No need for separate wait/read operations after navigation

Proposed Solution

Add a configuration option (e.g., --navigation-wait-duiration 1000) that automatically introduces a brief wait period after navigation operations before returning control to the LLM.

Alternative Solutions

  • Add this as a parameter to individual navigation calls rather than a global setting
  • Implement smart waiting that detects when page load is complete rather than using fixed delays
    This would significantly improve the developer experience when working with playwright-mcp for navigation-heavy automation tasks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions