Skip to content

Commit cc34fcc

Browse files
committed
Remove additional validation
1 parent e4f0c0a commit cc34fcc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

dotnet/src/webdriver/NetworkManager.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,6 @@ public void AddResponseHandler(NetworkResponseHandler handler)
181181
throw new ArgumentException("Matcher for response cannot be null", nameof(handler));
182182
}
183183

184-
if (handler.ResponseTransformer == null)
185-
{
186-
throw new ArgumentException("Transformer for response cannot be null", nameof(handler));
187-
}
188-
189184
this.responseHandlers.Add(handler);
190185
}
191186

0 commit comments

Comments
 (0)