We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config file
// playwright.config.ts import type { PlaywrightTestConfig } from '@playwright/test' const config: PlaywrightTestConfig = { use: { trace: 'on' }, } export default config
Test file (self-contained)
import { test } from '@playwright/test' test('page loads', async ({ page }) => { await page.goto('https://google.com') await page.waitForSelector('/') })
Steps
playwright show-trace
Expected
trace file loads, with some sort of handling on the step with the invalid selector
Actual
blank screen with errors in the console:
Uncaught (in promise) Error: Unexpected token "/" while parsing selector "/"
The text was updated successfully, but these errors were encountered:
Maybe related: #21832
Sorry, something went wrong.
looks like the same issue, closing this as a duplicate
No branches or pull requests
System info
Source code
Config file
Test file (self-contained)
Steps
playwright show-trace
with the path to the trace file or upload it to trace.playwright.devExpected
trace file loads, with some sort of handling on the step with the invalid selector
Actual
blank screen with errors in the console:
The text was updated successfully, but these errors were encountered: