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
driver
IWebDriverThe WebDriver instance used in the current context.
searchContext
ISearchContextThe parent searc context used as the context for getting shadow root.
Exceptions
- ArgumentNullException
If
driver
orsearchContext
are 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; }