mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Implement webdriver element in view (#38329)
Implement step 6 of `ElementClick`: https://w3c.github.io/webdriver/#dfn-element-click Tests: `tests/wpt/tests/webdriver/tests/classic/element_click/interactability.py` cc: @xiaochengh Signed-off-by: batu_hoang <hoang.binh.trong@huawei.com>
This commit is contained in:
parent
8008d5aa85
commit
8e27fd48cc
3 changed files with 52 additions and 29 deletions
|
@ -2141,7 +2141,7 @@ impl Handler {
|
|||
|
||||
let (sender, receiver) = ipc::channel().unwrap();
|
||||
|
||||
// Steps 1 - 7 + Step 8 for <option>
|
||||
// Steps 3-7 + Step 8 for <option> are handled in script thread.
|
||||
let cmd = WebDriverScriptCommand::ElementClick(element.to_string(), sender);
|
||||
self.browsing_context_script_command(cmd, VerifyBrowsingContextIsOpen::No)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue