Constructor
new ShadowRootPromise(drivernon-null, shadownon-null)
Parameters:
Name | Type | Description |
---|---|---|
driver | WebDriver | The parent WebDriver instance for this element. |
shadow | Promise.<!ShadowRoot> | A promise that will resolve to the promised element. |
- Implements
- IThenable.<!ShadowRoot>
- Source
Members
catch
- Source
then
- Source
Methods
getId()
Defers returning the ShadowRoot ID until the wrapped WebElement has been resolved.
- Source