Initializes a new instance of the class. The instance that is driving this shadow root. The ID value provided to identify the shadow root. If or are .</ex
(WebDriver parentDriver, string id)
| 43 | /// <param name="id">The ID value provided to identify the shadow root.</param> |
| 44 | /// <exception cref="ArgumentNullException">If <paramref name="parentDriver"/> or <paramref name="id"/> are <see langword="null"/>.</exception> |
| 45 | public ShadowRoot(WebDriver parentDriver, string id) |
| 46 | { |
| 47 | this.driver = parentDriver ?? throw new ArgumentNullException(nameof(parentDriver)); |
| 48 | this.shadowRootId = id ?? throw new ArgumentNullException(nameof(id)); |
| 49 | } |
| 50 | |
| 51 | /// <summary> |
| 52 | /// Gets the <see cref="IWebDriver"/> driving this shadow root. |
nothing calls this directly
no outgoing calls
no test coverage detected