Open phpmooc opened 2 months ago
i'm not sure. but you can give it a shot.
you can use "excludedSwitches" paramater.
my code:
'excludedSwitches' => ['--enable-crash-reporter'],
$options = [
'keepAlive' => true,
'headless' => true,
'startupTimeout' => 35,
'connectionDelay' => 0.8,
'sendSyncDefaultTimeout' => self::TimeOut,
// 'debugLogger' => 'php://stdout',
'enableImages' => $enableImages,
'excludedSwitches' => ['--enable-crash-reporter'],
'customFlags' => ['--eshop_id=' . $this->eshop->id, '--chrome-coupon', '--disable-crash-reporter']
];
Is it possible to disable
user data dir
anduser crash dir
?if so, how to configure? I tried the the config options both
userDataDir
anduserCrashDumpsDir
, and then checked out the repo codes, it seems not work.