Skip to content

Commit aa95f80

Browse files
nvborisenkodiemol
andauthored
[dotnet] Don't listen to error output stream from selenium manager to avoid messing up output (#11863)
Don't listen to error output stream from selenium manager Co-authored-by: Diego Molina <[email protected]>
1 parent 4bf979b commit aa95f80

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

dotnet/src/webdriver/SeleniumManager.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,10 @@ private static string RunCommand(string fileName, string arguments)
125125
try
126126
{
127127
process.OutputDataReceived += outputHandler;
128-
process.ErrorDataReceived += outputHandler;
129128

130129
process.Start();
131130

132131
process.BeginOutputReadLine();
133-
process.BeginErrorReadLine();
134132

135133
process.WaitForExit();
136134
}
@@ -142,7 +140,6 @@ private static string RunCommand(string fileName, string arguments)
142140
{
143141
processExitCode = process.ExitCode;
144142
process.OutputDataReceived -= outputHandler;
145-
process.ErrorDataReceived -= outputHandler;
146143
}
147144

148145
string output = outputBuilder.ToString().Trim();

0 commit comments

Comments
 (0)