-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Labels
Description
Hello, thx for the implementation of #463 so quickly. Now I'm trying with the new veersion, but I'm not able to see how to forward settings to my edge driver. I have tried something as follows:
my $settings_ref = {
binary =>'msedgedriver.exe',
extra_capabilities =>
{'ms:edgeOptions' => {
'debuggerAddress' => 'localhost:50923'
}
},
};
Similar to what I do in chrome, but id does not seem to work, as dumping what get_capabilities returns states:
'ms:edgeOptions' => {
'debuggerAddress' => 'localhost:51551'
},
This is what I'm trying to migrate to edge from chrome, but I'm not able to get it started:
if (defined($args_ref->{'downloads_folder'})){
$settings{'extra_capabilities'}{'goog:chromeOptions'}{'prefs'}{'download.default_directory'} = $args_ref->{'downloads_folder'};
$settings{'extra_capabilities'}{'goog:chromeOptions'}{'prefs'}{'download.prompt_for_download'} = 'false';
$settings{'extra_capabilities'}{'goog:chromeOptions'}{'prefs'}{'profile'}{'default_content_setting_values'}{'automatic_downloads'} = 1;
}