Skip to content

Conversation

@dgozman
Copy link
Contributor

@dgozman dgozman commented Nov 18, 2025

When querying with _react or _vue, suggest an alternative locator instead.

The error looks like this:

    Error: locator.click: Error: "_react" selector is not supported: locator('_react=BookList') resolved to 1 element:
        1) <ol>…</ol> aka getByText('Pride and PrejudiceTo Kill a')

    Call log:
      - waiting for locator('_react=BookList')

@dgozman dgozman requested a review from yury-s November 18, 2025 11:46
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

When querying with `_react`, suggest an alternative locator instead.
@dgozman dgozman force-pushed the chore-react-selector-error branch from 84ce8d9 to 99a0ac6 Compare November 20, 2025 08:21
@github-actions
Copy link
Contributor

Test results for "MCP"

2432 passed, 116 skipped


Merge workflow run.

@github-actions
Copy link
Contributor

Test results for "tests 1"

3 failed
❌ [playwright-test] › runner.spec.ts:118 › should ignore subprocess creation error because of SIGINT @macos-latest-node18-2
❌ [playwright-test] › test-step.spec.ts:653 › should show final toPass error @macos-latest-node18-2
❌ [playwright-test] › playwright.trace.spec.ts:345 › should retain traces for interrupted tests @windows-latest-node18-1

4 flaky ⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1079 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node18`
⚠️ [firefox-page] › page/page-event-request.spec.ts:182 › should return response body when Cross-Origin-Opener-Policy is set `@firefox-ubuntu-22.04-node18`
⚠️ [firefox-page] › page/page-goto.spec.ts:83 › should work with Cross-Origin-Opener-Policy `@firefox-ubuntu-22.04-node18`
⚠️ [playwright-test] › ui-mode-trace.spec.ts:397 › should work behind reverse proxy `@macos-latest-node18-2`

40314 passed, 787 skipped


Merge workflow run.

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