Closed
Bug 1323537
Opened 9 years ago
Closed 9 years ago
Implement TakeElementScreenshot command
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: whimboo, Unassigned)
References
(Blocks 1 open bug, )
Details
The webdriver spec says that we should have a TakeElementScreenshot command, which hasn't been implemented yet.
https://w3c.github.io/webdriver/webdriver-spec.html#take-element-screenshot
The code as necessary to run already exists in the current screenshot command but would have to be untangled into this new method.
We should keep backward compatibility for now so screenshot should forward element screenshots to the new method.
We should wait until bug 1243415 has been landed.
Comment 1•9 years ago
|
||
Can't the Chrome code use the current capture code for element screenshots?
Flags: needinfo?(hskupin)
| Reporter | ||
Comment 2•9 years ago
|
||
I thought we need a 1-1 mapping for each command in Marionette. Isn't it the case? When I talked with Andreas he agreed on it. So please figure both out.
Flags: needinfo?(hskupin) → needinfo?(ato)
Comment 3•9 years ago
|
||
I don’t care particularly if we call GeckoDriver.prototype.takeScreenshot with {full: false} from geckodriver. This means we can avoid adding a new command to Marionette.
Flags: needinfo?(ato)
Comment 4•9 years ago
|
||
This feels like a bug that should be filed in geckodriver.
Comment 5•9 years ago
|
||
This was added in https://github.com/mozilla/webdriver-rust/commit/bce83b87fc082fba52c4857a57296f141e27b53c and https://github.com/mozilla/geckodriver/commit/cb67c0aa66e3d50223de8e79eb4e1333bfb09401
As long as we have the necessary endpoints, how we implement it internally doesn't matter.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•