Closed
Bug 941148
Opened 11 years ago
Closed 10 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•11 years ago
|
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ato
Status: NEW → ASSIGNED
Summary: "screenShot" not matching webdriver command "screenshot" → screenShot not matching webdriver command takeScreenshot
Assignee | ||
Comment 1•10 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•10 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=82fdc39165ba
Attachment #8364342 -
Flags: review?(dburns)
Comment 3•10 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•10 years ago
|
||
Fixed issues, carrying on r+ from dburns.
Attachment #8364342 -
Attachment is obsolete: true
Attachment #8365032 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 5•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/95016fa7e7a0
Keywords: checkin-needed
Comment 6•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/95016fa7e7a0
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Whiteboard: checking-needed-aurora
Comment 7•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/3ee86043f87f
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Keywords: checkin-needed
Whiteboard: checking-needed-aurora
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•