You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playwright::launch() honors only headless, slowMo, args and context. Anything else is silently dropped. Playwright::chromium(['headless' => true, 'channel' => 'nonesuch']) launches the bundled Chromium without complaint. I used channel and proxy this way and believed they worked; I only noticed from a screenshot-size difference and then from the user-agent. Browser context options such as ignoreHTTPSErrors also have to be nested under context.
channel and proxy are supported through PlaywrightConfigBuilder + PlaywrightFactory, which also rejects an unknown channel properly: Unsupported chromium channel "nonesuch". (Related: #191, withExecutablePath().)
Suggestion: either map the documented launch options, or throw InvalidArgumentException for keys the helper doesn't handle. A short pointer from the README's launch-options section to PlaywrightConfigBuilder for channel/proxy would also help.
Activity