File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ function Start-SeChrome {
6464 $Chrome_Options = New-Object - TypeName " OpenQA.Selenium.Chrome.ChromeOptions"
6565
6666 if ($DefaultDownloadPath ){
67- Write-Host " Setting Default Download directory: $DefaultDownloadPath "
67+ Write-Verbose " Setting Default Download directory: $DefaultDownloadPath "
6868 $Chrome_Options.AddUserProfilePreference (' download' , @ {' default_directory' = $ ($DefaultDownloadPath.FullName ); ' prompt_for_download' = $false ; })
6969 }
7070 if ($ProfileDirectoryPath ){
71- Write-Host " Setting Profile directory: $ProfileDirectoryPath "
71+ Write-Verbose " Setting Profile directory: $ProfileDirectoryPath "
7272 $Chrome_Options.AddArgument (" user-data-dir=$ProfileDirectoryPath " )
7373 }
7474
@@ -99,7 +99,7 @@ function Start-SeChrome {
9999 }
100100
101101 if (! $HideVersionHint ) {
102- Write-Host " Download the right chromedriver from 'http://chromedriver.chromium.org/downloads'" - ForegroundColor Yellow
102+ Write-Verbose " Download the right chromedriver from 'http://chromedriver.chromium.org/downloads'"
103103 }
104104
105105 if ($IsLinux -or $IsMacOS ){
You can’t perform that action at this time.
0 commit comments