Created
November 6, 2020 15:38
-
-
Save seleniumgists/00be51dd135d1a08a26874673cd4dc02 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
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
if ((this as ISupportsLogs) != null) | |
{ | |
// Only add the legacy log commands if the driver supports | |
// retrieving the logs via the extension end points. | |
this.CommandExecutor.CommandInfoRepository.TryAddCommand(DriverCommand.GetAvailableLogTypes, new CommandInfo(CommandInfo.GetCommand, "/session/{sessionId}/se/log/types")); | |
this.CommandExecutor.CommandInfoRepository.TryAddCommand(DriverCommand.GetLog, new CommandInfo(CommandInfo.PostCommand, "/session/{sessionId}/se/log")); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment