mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement TakeElementScreenshot WebDriver command
This commit is contained in:
parent
a084997afe
commit
d3696baf27
12 changed files with 134 additions and 28 deletions
|
@ -3499,9 +3499,9 @@ where
|
|||
y,
|
||||
));
|
||||
},
|
||||
WebDriverCommandMsg::TakeScreenshot(_, reply) => {
|
||||
WebDriverCommandMsg::TakeScreenshot(_, rect, reply) => {
|
||||
self.compositor_proxy
|
||||
.send(ToCompositorMsg::CreatePng(reply));
|
||||
.send(ToCompositorMsg::CreatePng(rect, reply));
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue