Skip to content

[BUG] RangeError: Invalid time value #27073

@jiadesen

Description

@jiadesen

System info

  • Playwright Version: [v1.38.0]
  • Operating System: [macOS 13.5.2]
  • Browser: [WebKit]
  • Other info: use fixtures like worker-scoped-fixtures

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

// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';

export default defineConfig({
  use: {
      browserName: "webkit",
      launchOptions: {
          slowMo: 100,
      },
      navigationTimeout: 60 * 1000,
      hasTouch: true,
      isMobile: true,
      trace: "retain-on-failure",
      video: "on",
      screenshot: "only-on-failure",
      ignoreHTTPSErrors: true,
      headless: false,
      viewport: { width: 375, height: 667 },
    },
});

Test file (self-contained)

it('should check the box using setChecked', async ({ page }) => {
  await page.goto('https://playwright.dev/');
});

Steps

  • [Run the test]
  • [...]

Expected

[Describe expected behavior]

Actual

Test Crash!!!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions