Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot connect to Chrome using Playwrighter but can connect to Edge
#2
Before starting Chrome with command line like --remote-debugging-port=9222, ensure that there are no chrome.exe processes (visible or hidden). Else Chrome ignores the command line. You can see processes and their command lines in Task Manager or System Informer.

To correctly start Chrome you can use class PlaywrightRunBrowser. It's in the same file as Playwrighter.


Messages In This Thread
RE: Cannot connect to Chrome using Playwrighter but can connect to Edge - by Gintaras - 05-21-2025, 10:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)