Merge pull request #25966 from JoshuaKGoldberg/selenium-webdriver-firefox-headless

Added .headless() to Firefox options
This commit is contained in:
Benjamin Lichtman
2018-05-31 21:02:38 -07:00
committed by GitHub

View File

@@ -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