Skip to content

Commit

Permalink
Update BrowserFactory.php
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Sep 8, 2023
1 parent 32136d4 commit 26d2c3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/BrowserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ class BrowserFactory
* - envVariables: An array of environment variables to pass to the process (example DISPLAY variable)
* - headers: An array of custom HTTP headers
* - headless: Enable or disable headless mode (default: true)
* - ignoreCertificateErrors: Set chrome to ignore ssl errors
* - keepAlive: Set to `true` to keep alive the chrome instance when the script terminates (default: false)
* - ignoreCertificateErrors: Set Chrome to ignore SSL errors
* - keepAlive: Set to `true` to keep alive the Chrome instance when the script terminates (default: false)
* - noSandbox: Enable no sandbox mode, useful to run in a docker container (default: false)
* - proxyServer: Proxy server to use. ex: `127.0.0.1:8080` (default: none)
* - sendSyncDefaultTimeout: Default timeout (ms) for sending sync messages (default 5000 ms)
* - startupTimeout: Maximum time in seconds to wait for chrome to start (default: 30 sec)
* - startupTimeout: Maximum time in seconds to wait for Chrome to start (default: 30 sec)
* - userAgent: User agent to use for the whole browser
* - userDataDir: Chrome user data dir (default: a new empty dir is generated temporarily)
* - userCrashDumpsDir: The directory crashpad should store dumps in (crash reporter will be enabled automatically)
* - windowSize: Size of the window. ex: `[1920, 1080]` (default: none)
* - excludedSwitches: An Array of chrome flags that should be removed from the default set (example --enable-automation)
* - excludedSwitches: An array of Chrome flags that should be removed from the default set (example --enable-automation)
*/
protected $options = [];

Expand Down

0 comments on commit 26d2c3f

Please sign in to comment.