aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index eaffa1d6ef6..4cda69cdced 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -2159,6 +2159,14 @@ impl ScriptThread {
reply,
)
},
+ WebDriverScriptCommand::ElementClick(element_id, reply) => {
+ webdriver_handlers::handle_element_click(
+ &*documents,
+ pipeline_id,
+ element_id,
+ reply,
+ )
+ },
WebDriverScriptCommand::GetActiveElement(reply) => {
webdriver_handlers::handle_get_active_element(&*documents, pipeline_id, reply)
},