Closed
Bug 941148
Opened 12 years ago
Closed 12 years ago
screenShot not matching webdriver command takeScreenshot
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(firefox28 fixed, firefox29 fixed)
RESOLVED
FIXED
mozilla29
People
(Reporter: ato, Assigned: ato)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file, 1 obsolete file)
|
9.63 KB,
patch
|
ato
:
review+
|
Details | Diff | Splinter Review |
Marionette uses "screenShot" (camel case) for taking a screenshot of
the current browser window while the expected webdriver command is
"screenshot" (lower case).
This incompatibility makes it harder to use Marionette directly
without maintaining a WebDriver-to-Marionette command conversion set.
Updated•12 years ago
|
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → ato
Status: NEW → ASSIGNED
Summary: "screenShot" not matching webdriver command "screenshot" → screenShot not matching webdriver command takeScreenshot
| Assignee | ||
Comment 1•12 years ago
|
||
The spec is saying the command end-point should be "DOMString
takeScreenshot(optional WebElement el)". Updated title to reflect
that.
To preserve Selenium compatibility we will still need "screenshot",
however. Filed tracking bug 962181 and bug 962182 specifically about
this command.
| Assignee | ||
Comment 2•12 years ago
|
||
Attachment #8364342 -
Flags: review?(dburns)
Comment 3•12 years ago
|
||
Comment on attachment 8364342 [details] [diff] [review]
0001-Bug-941148-Rename-screenShot-to-takeScreenshot-for-w.patch
Review of attachment 8364342 [details] [diff] [review]:
-----------------------------------------------------------------
r+ can be carried through after nit corrected
::: testing/marionette/marionette-listener.js
@@ +2133,5 @@
>
> + // Return the Base64 String back to the client bindings and they can
> + // manage saving the file to disk if it is required
> + var dataUrl = canvas.toDataURL("image/png","");
> + var data = dataUrl.substring(dataUrl.indexOf(",") + 1);
line up with rest of the code
Attachment #8364342 -
Flags: review?(dburns) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
Fixed issues, carrying on r+ from dburns.
Attachment #8364342 -
Attachment is obsolete: true
Attachment #8365032 -
Flags: review+
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 5•12 years ago
|
||
Keywords: checkin-needed
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Whiteboard: checking-needed-aurora
Comment 7•12 years ago
|
||
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Keywords: checkin-needed
Whiteboard: checking-needed-aurora
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
•