docs(class-testoptions): fix launchOptions snippet (#23831)
This commit is contained in:
parent
6a6ff9cf6a
commit
3777fc8b0f
|
|
@ -355,10 +355,12 @@ export default defineConfig({
|
||||||
projects: [
|
projects: [
|
||||||
{
|
{
|
||||||
name: 'chromium',
|
name: 'chromium',
|
||||||
use: { ...devices['Desktop Chrome'] },
|
use: {
|
||||||
launchOptions: {
|
...devices['Desktop Chrome'],
|
||||||
args: ['--start-maximized'],
|
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: [
|
* projects: [
|
||||||
* {
|
* {
|
||||||
* name: 'chromium',
|
* name: 'chromium',
|
||||||
* use: { ...devices['Desktop Chrome'] },
|
* use: {
|
||||||
* launchOptions: {
|
* ...devices['Desktop Chrome'],
|
||||||
* args: ['--start-maximized'],
|
* launchOptions: {
|
||||||
* },
|
* args: ['--start-maximized']
|
||||||
|
* }
|
||||||
|
* }
|
||||||
* }
|
* }
|
||||||
* ]
|
* ]
|
||||||
* });
|
* });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue