Rayrun
← Back to Discord Forum

Invalid character in header content ["x-playwright-launch-options"] from VSCode extension

After I have installed latest version of playwright I am no longer able to start tests from Playwright Test for VSCode v1.0.12. I get following error when starting test from the extension (either Run or Debug)

TypeError: browserType.connect: Invalid character in header content ["x-playwright-launch-options"] =========================== logs =========================== <ws connecting> ws://127.0.0.1:55235/21cca669f1f853f4e501c9124a6fcc1f ============================================================

Tests are running ok if started with npx playwright test though Playwright version is 1.34.3 It was working all ok with previous version of Playwright. Anybody knows what is the problem? cheers Dragan

This thread is trying to answer question "What is causing the 'Invalid character in header content' error when starting tests from the Playwright Test for VSCode extension?"

3 replies

Am I the only one having this issue?

michaldrajna
michaldrajna

Hi, did u fix this issue?

can you file an issue on github with more details? Thats a better place to dig into potential bugs. Thanks!

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].