Class GetShadowRootEventArgs
Provides data for events related to getting shadow root of the web element.
public class GetShadowRootEventArgs : EventArgs
- Inheritance
-
GetShadowRootEventArgs
- Inherited Members
Constructors
GetShadowRootEventArgs(IWebDriver, ISearchContext)
Initializes a new instance of the GetShadowRootEventArgs class.
public GetShadowRootEventArgs(IWebDriver driver, ISearchContext searchContext)
Parameters
driverIWebDriverThe WebDriver instance used in the current context.
searchContextISearchContextThe parent searc context used as the context for getting shadow root.
Exceptions
- ArgumentNullException
If
driverorsearchContextare null.
Properties
Driver
Gets the WebDriver instance used in the current context.
public IWebDriver Driver { get; }
Property Value
SearchContext
Gets the parent search context used as the context for getting shadow root.
public ISearchContext SearchContext { get; }