docs(class-testoptions): fix launchOptions snippet (#23831)
This commit is contained in:
parent
6a6ff9cf6a
commit
3777fc8b0f
|
|
@ -355,10 +355,12 @@ export default defineConfig({
|
|||
projects: [
|
||||
{
|
||||
name: 'chromium',
|
||||
use: { ...devices['Desktop Chrome'] },
|
||||
launchOptions: {
|
||||
args: ['--start-maximized'],
|
||||
},
|
||||
use: {
|
||||
...devices['Desktop Chrome'],
|
||||
launchOptions: {
|
||||
args: ['--start-maximized']
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
|
|
|||
10
packages/playwright-test/types/test.d.ts
vendored
10
packages/playwright-test/types/test.d.ts
vendored
|
|
@ -3518,10 +3518,12 @@ export interface PlaywrightWorkerOptions {
|
|||
* projects: [
|
||||
* {
|
||||
* name: 'chromium',
|
||||
* use: { ...devices['Desktop Chrome'] },
|
||||
* launchOptions: {
|
||||
* args: ['--start-maximized'],
|
||||
* },
|
||||
* use: {
|
||||
* ...devices['Desktop Chrome'],
|
||||
* launchOptions: {
|
||||
* args: ['--start-maximized']
|
||||
* }
|
||||
* }
|
||||
* }
|
||||
* ]
|
||||
* });
|
||||
|
|
|
|||
Loading…
Reference in a new issue