mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 11:07:32 +08:00
Merge pull request #25966 from JoshuaKGoldberg/selenium-webdriver-firefox-headless
Added .headless() to Firefox options
This commit is contained in:
7
types/selenium-webdriver/firefox.d.ts
vendored
7
types/selenium-webdriver/firefox.d.ts
vendored
@@ -149,6 +149,13 @@ export class Profile {
|
||||
* Configuration options for the FirefoxDriver.
|
||||
*/
|
||||
export class Options {
|
||||
/**
|
||||
* Sets the browser to be in headless mode.
|
||||
*
|
||||
* @return {!Options} A self reference.
|
||||
*/
|
||||
headless(): Options;
|
||||
|
||||
/**
|
||||
* Sets the profile to use. The profile may be specified as a
|
||||
* {@link Profile} object or as the path to an existing Firefox profile to use
|
||||
|
||||
Reference in New Issue
Block a user