-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable log methods for .NET in the case of a spec-compliant driver
When calling driver.Manage().Logs.AvailableLogTypes for a driver that implements the W3C WebDriver Specification (where there is no corresponding end point), the bindings would throw a NullReferenceException, because the command does not exist in the command repository for spec-compliant remote ends. With this commit, the .NET bindings will not even attempt the remote call for spec- compliant sessions, returning empty lists instead. Fixes issue #5842.
- Loading branch information
Showing
1 changed file
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters