Skip to content

Start-SeDriver -Quiet parameter removal #127

Closed
@itfranck

Description

@itfranck

Previouslqy, Selenium command prompt output was displayed through the console, mixed with Powershell output.

V3 behavior

  • Selenium prompt output shown in the console
  • Quiet parameter allow to disable it.

v4 behavior

  • Selenium prompt output is diisabled
  • Quiet parameter was removed
  • Can still be enabled by using the Service / Options combo in Start-SeDriver
$Service = New-SeDriverService -Browser Chrome
$Service.HideCommandPromptWindow = $false
$Options = New-SeDriverOptions -Browser Chrome
Start-SeDriver -Service $Service -Options $Options

The initial thought was to switch -Quiet for -ShowSePrompt so "quet" become the default behavior while still providing easy access to enabble it back.

Not only all the tests already set the -Quiet flag, indicating a preference for this option to be the default, it caused mahem in the output window by getting all the SE verbosed mixed to the regular powershell output.

Ultimately though, that output is also creating problems if you try to run SE within jobs. #34
Rather than leaving it as a easy parameter (eg: -ShowSePrompt) and having to include warnings about its usage, I removed it.
It still remain possible to enable it, along all the other options not available by default through Start-SeDriver, by generating the Options #option / Service objects. #119

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions