Hi,
Unfortunately we only have one example of this in the docs, and there's only an example, no description, but it's at the end of the [docs for the new](
https://metacpan.org/pod/Selenium::Remote::Driver#new) function. If those are preferences, one way to do it would be the following:
```
my $driver = Selenium::Remote::Driver->new(
'browser_name' =>'chrome',
'extra_capabilities' => {
'chromeOptions' => {
'prefs' => {
'applicationCacheEnabled' => 'false',
'download.default_directory' => '/private/tmp/whee'
}
}
}
);
```
Starting up the S::R::D like this, I can view the settings of the browser and [see the appropriate download directory](
http://take.ms/TKKJv).
You can also pass command line arguments to the chromedriver executable in a similar fashion: use an `args` key in the `chromeOptions` hash:
```
my $driver = Selenium::Remote::Driver->new(
'browser_name' =>'chrome',
'extra_capabilities' => {
'chromeOptions' => {
'args' => [
'window-size=1260,960',
'incognito'
]
}
}
);
```
some links I happened upon while googling:
HTH, good luck.