Skip to content

Commit

Permalink
[dotnet] Execute Selenium Manager commands without new window (#12593)
Browse files Browse the repository at this point in the history
Execute Selenium Manager commands without new window

Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
  • Loading branch information
nvborisenko and diemol authored Aug 23, 2023
1 parent 29d06ab commit 02fe22a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dotnet/src/webdriver/SeleniumManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ private static Dictionary<string, object> RunCommand(string fileName, string arg
process.StartInfo.FileName = binaryFullPath;
process.StartInfo.Arguments = arguments;
process.StartInfo.UseShellExecute = false;
process.StartInfo.CreateNoWindow = true;
process.StartInfo.StandardErrorEncoding = Encoding.UTF8;
process.StartInfo.StandardOutputEncoding = Encoding.UTF8;
process.StartInfo.RedirectStandardOutput = true;
Expand Down

0 comments on commit 02fe22a

Please sign in to comment.