--- name: Bug Report about: Something doesn't work like it should? Tell us! title: "[BUG]" labels: '' assignees: '' --- ### System info - Playwright Version: [v1.XX] - Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.] - Browser: [All, Chromium, Firefox, WebKit] - Other info: ### Source code - [ ] I provided exact source code that allows reproducing the issue locally. **Link to the GitHub repository with the repro** [https://github.com/your_profile/playwright_issue_title] or **Config file** ```js // playwright.config.ts import { defineConfig, devices } from '@playwright/test'; export default defineConfig({ projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'], }, }, }); ``` **Test file (self-contained)** ```js it('should check the box using setChecked', async ({ page }) => { await page.setContent(``); await page.getByRole('checkbox').check(); await expect(page.getByRole('checkbox')).toBeChecked(); }); ``` **Steps** - [Run the test] - [...] **Expected** [Describe expected behavior] **Actual** [Describe actual behavior]