Skip to content

Commit 4bf5f80

Browse files
committed
[js] update details about native headless mode in chrome
1 parent edfb8fa commit 4bf5f80

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

javascript/node/selenium-webdriver/chromium.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,9 @@ class Options extends Capabilities {
316316
* options.addArguments('--headless');
317317
* @example
318318
*
319+
* Recommended to use '--headless=chrome' as argument for browsers v94-108.
320+
* Recommended to use '--headless=new' as argument for browsers v109+.
321+
*
319322
* Configures the driver to start the browser in headless mode.
320323
*
321324
* > __NOTE:__ Resizing the browser window in headless mode is only supported

0 commit comments

Comments
 (0)