MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Dispose

Method Dispose

dotnet/src/webdriver/Remote/RemoteWebDriver.cs:635–647  ·  view source on GitHub ↗

Releases all resources associated with this . if the Dispose method was explicitly called; otherwise, .

(bool disposing)

Source from the content-addressed store, hash-verified

633 /// </summary>
634 /// <param name="disposing"><see langword="true"/> if the Dispose method was explicitly called; otherwise, <see langword="false"/>.</param>
635 protected override void Dispose(bool disposing)
636 {
637 if (disposing)
638 {
639 if (this.devToolsSession != null)
640 {
641 this.devToolsSession.Dispose();
642 this.devToolsSession = null;
643 }
644 }
645
646 base.Dispose(disposing);
647 }
648
649 private static ICapabilities ConvertOptionsToCapabilities(DriverOptions options)
650 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected