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

Method Dispose

dotnet/src/webdriver/Remote/RemoteWebDriver.cs:617–629  ·  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

615 /// </summary>
616 /// <param name="disposing"><see langword="true"/> if the Dispose method was explicitly called; otherwise, <see langword="false"/>.</param>
617 protected override void Dispose(bool disposing)
618 {
619 if (disposing)
620 {
621 if (this.devToolsSession != null)
622 {
623 this.devToolsSession.Dispose();
624 this.devToolsSession = null;
625 }
626 }
627
628 base.Dispose(disposing);
629 }
630
631 private static ICapabilities ConvertOptionsToCapabilities(DriverOptions options)
632 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected