Steps to reproduce
- start “record new” in VS Code or codegen via cli npx playwright codegen
- navigate to google.com (it opens chromium on my machine)
- click on accept or reject cookies button
-> the click is not actioned - and not recorded
A click e.g. on “More options” is actioned and recorded.
The locators are correctly shown, adding a check for "visibility" and other options via the "locator toolbar" is working fine
Created code:
import { test, expect } from '@playwright/test';
test('test', async ({ page }) => {
await page.goto('https://www.google.com/');
});
Setup:
Playwright typescript 1.41 (as far as I can recall, it was no issue with 1.40.1)
Chromium Version 121.0.6167.57 (Developer Build) (64-bit)
MS Windows 10 and 11