Skip to content

[FEATURE] Implement wait_for_condition skill #9

@edenreich

Description

@edenreich

Summary

Implement the wait_for_condition skill to provide synchronization and timing functionality. This skill allows the agent to wait for specific conditions before proceeding with automation tasks.

Acceptance Criteria

  • Support waiting for element visibility/invisibility
  • Implement selector-based waiting (attached, detached states)
  • Support navigation event waiting
  • Add custom JavaScript function condition evaluation
  • Implement configurable timeout (default 30000ms)
  • Support multiple condition types in one call
  • Handle timeout scenarios gracefully
  • Add polling interval configuration
  • Support waiting for network idle conditions
  • Implement condition result validation
  • Add comprehensive logging for wait operations
  • Add unit tests covering various wait scenarios and edge cases

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions