Skip to content

Playwright reports a TodoMVC checkbox as "not visible" (check() and click({force})) #1289

Open

Description

@max-freddyfire

Environment: moli 1.1.15 serve --layout --image --font, playwright-core 1.64.0.

Repro

await page.goto("https://todomvc.com/examples/react/dist/");
await page.fill(".new-todo", "A");
await page.press(".new-todo", "Enter");
await page.locator(".todo-list li .toggle").first().check(); // times out

Actual: locator.check: Timeout 30000ms exceeded. With click({ force: true }) you get Element is not visible.

Expected: this works in Chrome. The .toggle input is styled with opacity: 0 and an absolute position over a label background, and Playwright treats elements with opacity: 0 as visible as long as they have a non-empty box. This suggests Moli returns an empty or zero box for this element.

Activity

  1. self-assigned this
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions