@@ -127,20 +127,21 @@ API
127127
128128Here are the options available for the browser factory:
129129
130- | Option name | Default | Description |
131- | --------------------| -----------------------| -----------------------------------------------------------------------------------|
132- | connectionDelay | 0 | Delay to apply between each operation for debugging purposes |
133- | debug | false | Allows to enable debug mode |
134- | debugLogger | null | A string (e.g "php://stdout"), or resource, or PSR-3 logger instance to print debug messages |
135- | enableImages | true | Toggles loading of images |
136- | headless | true | Enable or disable headless mode |
137- | ignoreCertificateErrors | false | Set chrome to ignore ssl errors |
138- | noSandbox | false | Useful to run in a docker container |
139- | sendSyncDefaultTimeout | 3000 | Default timeout (ms) for sending sync messages |
140- | startupTimeout | 30 | Maximum time in seconds to wait for chrome to start |
141- | userAgent | none | User agent to use for the whole browser (see page api for alternative) |
142- | userDataDir | none | chrome user data dir (default: a new empty dir is generated temporarily) |
143- | windowSize | none | Size of the window. usage: `` [$width, $height] `` - see also Page::setViewportSize |
130+ | Option name | Default | Description |
131+ | --------------------| ---------------| --------------------------------------------------------------------------------------------------|
132+ | connectionDelay | 0 | Delay to apply between each operation for debugging purposes |
133+ | customFlags | none | Array of flags to pass to the command line. Eg: `` ['--option1', '--option2=someValue'] `` |
134+ | debug | false | Allows to enable debug mode |
135+ | debugLogger | null | A string (e.g "php://stdout"), or resource, or PSR-3 logger instance to print debug messages |
136+ | enableImages | true | Toggles loading of images |
137+ | headless | true | Enable or disable headless mode |
138+ | ignoreCertificateErrors | false | Set chrome to ignore ssl errors |
139+ | noSandbox | false | Useful to run in a docker container |
140+ | sendSyncDefaultTimeout | 3000 | Default timeout (ms) for sending sync messages |
141+ | startupTimeout | 30 | Maximum time in seconds to wait for chrome to start |
142+ | userAgent | none | User agent to use for the whole browser (see page api for alternative) |
143+ | userDataDir | none | chrome user data dir (default: a new empty dir is generated temporarily) |
144+ | windowSize | none | Size of the window. usage: `` [$width, $height] `` - see also Page::setViewportSize |
144145
145146### Browser API
146147
0 commit comments