mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
[webdriver] Implement get shadow root (#37280)
Implement Get Element Shadow Root https://www.w3.org/TR/webdriver2/#dfn-get-element-shadow-root cc: @xiaochengh, @yezhizhen, @PotatoCP Testing: `\tests\wpt\tests\webdriver\tests\classic\get_element_shadow_root\get.py` is blocked by `no_browsing_context` and `closed_window` pass for other sub-tests. Signed-off-by: batu_hoang <longvatrong111@gmail.com>
This commit is contained in:
parent
c808ff7666
commit
aeca81c091
4 changed files with 53 additions and 0 deletions
|
@ -130,6 +130,7 @@ pub enum WebDriverScriptCommand {
|
|||
IpcSender<Result<Vec<String>, ErrorStatus>>,
|
||||
),
|
||||
FindElementElementsTagName(String, String, IpcSender<Result<Vec<String>, ErrorStatus>>),
|
||||
GetElementShadowRoot(String, IpcSender<Result<Option<String>, ErrorStatus>>),
|
||||
ElementClick(String, IpcSender<Result<Option<String>, ErrorStatus>>),
|
||||
GetActiveElement(IpcSender<Option<String>>),
|
||||
GetComputedRole(String, IpcSender<Result<Option<String>, ErrorStatus>>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue