Skip to content

click tool cannot be used to choose an option from dropdown <select> #1941

@zyzyzyryxy

Description

@zyzyzyryxy

Description of the bug

In the fill-form evals, the agent repeatedly failed to click on options within a or combobox. The result was "Failed to interact... The element did not become interactive within the configured timeout (5000ms)" It seems to happen when the select is not currently expanded or if the UI is a custom combobox that hides the actual list. Reproduction Use tool 'click' on option that is hidden (either select is not expanded or options list is hidden by custom select)

Expectation

a) Modify tool description(s) to steer models to prefer fill tool for selects instead, it seem to be able to select options correctly.
b) Improve implementation of click tool to handle options of a select even when the select is collapsed dropdown.

MCP configuration

any

Chrome DevTools MCP version

v0.21.0

Chrome version

No response

Coding agent version

gemini-cli

Model version

gemini-2.5-flash

Chat log

No response

Node version

No response

Operating system

None

Extra checklist

  • I want to provide a PR to fix this bug

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions