2022-07-05 13:41:43 +00:00
|
|
|
---
|
|
|
|
sidebar_label: BrowserLaunchArgumentOptions.headless
|
|
|
|
---
|
|
|
|
|
|
|
|
# BrowserLaunchArgumentOptions.headless property
|
|
|
|
|
|
|
|
Whether to run the browser in headless mode.
|
|
|
|
|
2022-10-24 07:07:05 +00:00
|
|
|
#### Signature:
|
2022-07-05 13:41:43 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
interface BrowserLaunchArgumentOptions {
|
2022-12-07 13:54:00 +00:00
|
|
|
headless?: boolean | 'new';
|
2022-07-05 13:41:43 +00:00
|
|
|
}
|
|
|
|
```
|
2022-10-24 07:07:05 +00:00
|
|
|
|
|
|
|
#### Default value:
|
|
|
|
|
|
|
|
true
|