mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement pointerDown and pointerUp webdriver actions
This commit is contained in:
parent
6a637ceffb
commit
225cecf661
5 changed files with 160 additions and 28 deletions
|
@ -3490,6 +3490,15 @@ where
|
|||
return self.handle_send_error(pipeline_id, e);
|
||||
}
|
||||
},
|
||||
WebDriverCommandMsg::MouseButtonAction(mouse_event_type, mouse_button, x, y) => {
|
||||
self.compositor_proxy
|
||||
.send(ToCompositorMsg::WebDriverMouseButtonEvent(
|
||||
mouse_event_type,
|
||||
mouse_button,
|
||||
x,
|
||||
y,
|
||||
));
|
||||
},
|
||||
WebDriverCommandMsg::TakeScreenshot(_, reply) => {
|
||||
self.compositor_proxy
|
||||
.send(ToCompositorMsg::CreatePng(reply));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue