WebDriver/RemoteProtocol/News: Difference between revisions
< WebDriver | RemoteProtocol
Jump to navigation
Jump to search
(-) |
m (add old updates) |
||
Line 2: | Line 2: | ||
Every few weeks we share some highlights in recent work on Remote Protocol. | Every few weeks we share some highlights in recent work on Remote Protocol. | ||
== | == 2020-05-05 == | ||
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1605359 Page.getFrameTree] now returns all the frames of the current tab target and is now also Fission compatible. | * [https://bugzilla.mozilla.org/show_bug.cgi?id=1605359 Page.getFrameTree] now returns all the frames of the current tab target and is now also Fission compatible. | ||
* [https://bugzilla.mozilla.org/show_bug.cgi?id=1599257 Page.navigate] now waits until the response of the initial document request has been received and is therefore able to return errorText when navigation fails. | * [https://bugzilla.mozilla.org/show_bug.cgi?id=1599257 Page.navigate] now waits until the response of the initial document request has been received and is therefore able to return errorText when navigation fails. | ||
* See all the [https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&resolution=FIXED&chfieldvalue=Fixed&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&keywords_type=nowords&list_id=15122440&chfield=resolution&product=Remote%20Protocol&keywords=meta&chfieldfrom=2020-04-07&chfieldto=2020-05-05 fixed bugs from April 7th to May 5th]. | * See all the [https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&resolution=FIXED&chfieldvalue=Fixed&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&keywords_type=nowords&list_id=15122440&chfield=resolution&product=Remote%20Protocol&keywords=meta&chfieldfrom=2020-04-07&chfieldto=2020-05-05 fixed bugs from April 7th to May 5th]. | ||
== 2020-04-07 == | |||
* [https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&resolution=FIXED&chfieldvalue=Fixed&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&keywords_type=nowords&list_id=15122440&chfield=resolution&product=Remote%20Protocol&keywords=meta&chfieldfrom=2020-02-25&chfieldto=2020-04-06 Fixed bugs] between Feb 25th and April 6th | |||
* Maja added[https://github.com/puppeteer/puppeteer/pull/5467 Firefox Nightly support to Google Puppeteer’s browser-fetching feature]. This means that as of v3, Puppeteer users will have an equally convenient install+launch+connect flow for both Firefox and Chrome. | |||
* Henrik landed several fixes and enhancements for both the [https://bugzilla.mozilla.org/show_bug.cgi?id=1623581 Runtime.evaluate] and [https://bugzilla.mozilla.org/show_bug.cgi?id=1623484 Runtime.callFunctionOn] API’s. | |||
* Henrik added basic implementations for [https://bugzilla.mozilla.org/show_bug.cgi?id=1607560 DOM.describeNode] and [https://bugzilla.mozilla.org/show_bug.cgi?id=1607562 DOM.resolveNode]. | |||
* We can now run [https://wiki.mozilla.org/Remote/GutenbergCDPUsage Wordpress Gutenberg] end-to-end tests against Firefox Nightly and we pass 52% of all the tests out of the box. To reach that status a fair amount of work has been done over the last couple of months. | |||
== 2020-02-25 == | |||
* [https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&resolution=FIXED&chfieldvalue=Fixed&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&chfieldto=2020-02-24&keywords_type=nowords&list_id=15122440&chfieldfrom=2020-01-15&chfield=resolution&product=Remote%20Protocol&keywords=meta Fixed bugs] between Jan 15th and Feb 24th | |||
* Henrik finished off the patch from David Burns for [https://bugzilla.mozilla.org/show_bug.cgi?id=1588114 Page.setCookie(s)]. | |||
* Henrik added support for the [https://bugzilla.mozilla.org/show_bug.cgi?id=1587845 "clip" argument in Page.captureScreenshot] | |||
* The Puppeteer project is now running their CI jobs against Firefox Nightly in addition to Chrome | |||
== 2020-01-14 == | |||
* [https://bugzilla.mozilla.org/buglist.cgi?keywords=meta&keywords_type=nowords&order=Last%20Updated&list_id=15010873&resolution=FIXED&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&query_format=advanced&chfield=resolution&chfieldvalue=Fixed&product=Remote%20Protocol&chfieldfrom=2019-12-18&chfieldto=2020-01-14 Fixed bugs] between Dec 18th and Jan 14th | |||
* 🌟 mohitsingh1930 fixed some [https://bugzilla.mozilla.org/show_bug.cgi?id=1601037 missing default parameters in the remote agent] | |||
* 🌟 Kstheking0 refactored the remote browser-chrome tests and [https://bugzilla.mozilla.org/show_bug.cgi?id=1604143 made the task function arguments to use an object] | |||
* Henrik implemented [https://bugzilla.mozilla.org/show_bug.cgi?id=1590102 Network.deleteCookies] and parts of [https://bugzilla.mozilla.org/show_bug.cgi?id=1590098 Network.getCookies] to allow consumers of Puppeteer to interact with site cookies. | |||
* Henrik implemented [https://bugzilla.mozilla.org/show_bug.cgi?id=1607461 Network.setCacheDisabled] to allow ignoring the cache for each network request. | |||
* Henrik fixed [https://bugzilla.mozilla.org/show_bug.cgi?id=1596136 Emulation.setUserAgentOverride] to only affect the current tab target. | |||
* Henrik started the work on making the [https://bugzilla.mozilla.org/show_bug.cgi?id=1600054 Remote Agent Fission compatible]. | |||
* You can see a [https://wiki.mozilla.org/All_Hands/Berlin2020/Demos#Puppetize_Firefox_-_Firefoxify_Puppeteer_.28Henrik_Skupin.29 demo] of our Puppeteer support during the Berlin All-Hands. | |||
== 2019-12-17 == | |||
* [https://bugzilla.mozilla.org/buglist.cgi?keywords=meta&keywords_type=nowords&order=Last%20Updated&list_id=15010873&resolution=FIXED&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&query_format=advanced&chfield=resolution&chfieldvalue=Fixed&product=Remote%20Protocol&chfieldfrom=2019-12-04&chfieldto=2019-12-17 Fixed bugs] between Dec 4th and Dec 17th | |||
* Maja implemented parts of [https://bugzilla.mozilla.org/show_bug.cgi?id=1597877 Page.createIsolatedWorld] and [https://bugzilla.mozilla.org/show_bug.cgi?id=1597879 Page.addScriptToEvaluateNewDocument] to enable the creation of extra JavaScript execution contexts on page load. | |||
* Henrik implemented parts of [https://bugzilla.mozilla.org/show_bug.cgi?id=1588622 Page.getLayoutMetrics] to retrieve the layout (fixed) viewport and the full content size. Both are needed for better screenshot capabilities like capturing the full page. | |||
* Henrik added support for [https://bugzilla.mozilla.org/show_bug.cgi?id=1599994 Page.printToPDF] to allow the current web page to be printed to a PDF file. This also includes the implementation for handling streams via [https://bugzilla.mozilla.org/show_bug.cgi?id=1600053 IO.read] and [https://bugzilla.mozilla.org/show_bug.cgi?id=1600058 IO.close]. | |||
== 2019-11-05 and 2019-12-03 == | |||
Introduction: The Web Predictability team (#interop) is implementing a subset of [https://chromedevtools.github.io/devtools-protocol/ CDP] in Firefox; we’ve had a [https://docs.google.com/presentation/d/1vHgqwAxNIyLGqOLcJ-NGlbX3FOzxAhbnuPsuiOZEVvY/edit#slide=id.g473d95022b_0_220 working prototype] for some time, and our next [https://wiki.mozilla.org/Remote/Milestones milestone] is to provide initial cross-browser support in Google's [https://github.com/puppeteer/puppeteer Puppeteer] (a popular Node.js library for headless browser automation). | |||
* [https://bugzilla.mozilla.org/buglist.cgi?keywords=meta&keywords_type=nowords&order=Last%20Updated&list_id=15010873&resolution=FIXED&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&chfieldto=2019-12-03&query_format=advanced&chfield=resolution&chfieldfrom=2019-11-05&chfieldvalue=Fixed&product=Remote%20Protocol Fixed bugs] between Nov 5th and Dec 3rd | |||
* 🌟 Jacob Stenson [https://bugzilla.mozilla.org/show_bug.cgi?id=1591989 removed the unnecessarily returned ''frameId'' property] from the ''Page.loadEventFired'' event | |||
* We started shipping the [https://bugzilla.mozilla.org/show_bug.cgi?id=1544393 CDP-based remote debugging server on the Firefox Nightly release channel](see --remote-debugger flag) | |||
* Maja added [https://github.com/puppeteer/puppeteer/pull/5137 Firefox support to Puppeteer’s launcher API]; users will be able to run Puppeteer with Firefox in addition to Chrome as of the next Puppeteer release. | |||
* Andreas added a [https://bugzilla.mozilla.org/show_bug.cgi?id=1594351 new section for Remote Debugging] in about:support to expose the status if Firefox is under remote control and a visual cue in the Firefox UI when the browser is remotely controlled | |||
* We’re steadily implementing more CDP methods on track toward our MVP | |||
** Andreas made it possible to use ''Page.reload'' [https://bugzilla.mozilla.org/show_bug.cgi?id=1549708 ignoring the browser’s cache] | |||
** Thomas Kosmas [https://bugzilla.mozilla.org/show_bug.cgi?id=1591982 removed the unnecessarily returned ''timeout'' property] from various page navigation events | |||
** Henrik added support for [https://bugzilla.mozilla.org/show_bug.cgi?id=1592643 ''Target.activateTarget''], which switches to the specified target (tab) in any of the open browser windows. That also fixed a [https://bugzilla.mozilla.org/show_bug.cgi?id=1591922 bug in ''Page.bringToFront'', which caused the command to not wait for the window’s “activate” and “focus” events]. | |||
** Henrik made it possible for ''Page.captureScreenshot'' to [https://bugzilla.mozilla.org/show_bug.cgi?id=1587846 save the captured screenshots in different formats and quality] | |||
** Andreas added support for [https://bugzilla.mozilla.org/show_bug.cgi?id=1591927 ''Security.setIgnoreCertificateErrors''] to allow bypassing security exceptions when loading documents with invalid or otherwise bad TLS certificates | |||
** Henrik added support for [https://bugzilla.mozilla.org/show_bug.cgi?id=1595697 Emulation.setUserAgentOverride] which allows clients to replace the user agent with a custom value. |
Revision as of 14:09, 5 May 2020
Every few weeks we share some highlights in recent work on Remote Protocol.
2020-05-05
- Page.getFrameTree now returns all the frames of the current tab target and is now also Fission compatible.
- Page.navigate now waits until the response of the initial document request has been received and is therefore able to return errorText when navigation fails.
- See all the fixed bugs from April 7th to May 5th.
2020-04-07
- Fixed bugs between Feb 25th and April 6th
- Maja addedFirefox Nightly support to Google Puppeteer’s browser-fetching feature. This means that as of v3, Puppeteer users will have an equally convenient install+launch+connect flow for both Firefox and Chrome.
- Henrik landed several fixes and enhancements for both the Runtime.evaluate and Runtime.callFunctionOn API’s.
- Henrik added basic implementations for DOM.describeNode and DOM.resolveNode.
- We can now run Wordpress Gutenberg end-to-end tests against Firefox Nightly and we pass 52% of all the tests out of the box. To reach that status a fair amount of work has been done over the last couple of months.
2020-02-25
- Fixed bugs between Jan 15th and Feb 24th
- Henrik finished off the patch from David Burns for Page.setCookie(s).
- Henrik added support for the "clip" argument in Page.captureScreenshot
- The Puppeteer project is now running their CI jobs against Firefox Nightly in addition to Chrome
2020-01-14
- Fixed bugs between Dec 18th and Jan 14th
- 🌟 mohitsingh1930 fixed some missing default parameters in the remote agent
- 🌟 Kstheking0 refactored the remote browser-chrome tests and made the task function arguments to use an object
- Henrik implemented Network.deleteCookies and parts of Network.getCookies to allow consumers of Puppeteer to interact with site cookies.
- Henrik implemented Network.setCacheDisabled to allow ignoring the cache for each network request.
- Henrik fixed Emulation.setUserAgentOverride to only affect the current tab target.
- Henrik started the work on making the Remote Agent Fission compatible.
- You can see a demo of our Puppeteer support during the Berlin All-Hands.
2019-12-17
- Fixed bugs between Dec 4th and Dec 17th
- Maja implemented parts of Page.createIsolatedWorld and Page.addScriptToEvaluateNewDocument to enable the creation of extra JavaScript execution contexts on page load.
- Henrik implemented parts of Page.getLayoutMetrics to retrieve the layout (fixed) viewport and the full content size. Both are needed for better screenshot capabilities like capturing the full page.
- Henrik added support for Page.printToPDF to allow the current web page to be printed to a PDF file. This also includes the implementation for handling streams via IO.read and IO.close.
2019-11-05 and 2019-12-03
Introduction: The Web Predictability team (#interop) is implementing a subset of CDP in Firefox; we’ve had a working prototype for some time, and our next milestone is to provide initial cross-browser support in Google's Puppeteer (a popular Node.js library for headless browser automation).
- Fixed bugs between Nov 5th and Dec 3rd
- 🌟 Jacob Stenson removed the unnecessarily returned frameId property from the Page.loadEventFired event
- We started shipping the CDP-based remote debugging server on the Firefox Nightly release channel(see --remote-debugger flag)
- Maja added Firefox support to Puppeteer’s launcher API; users will be able to run Puppeteer with Firefox in addition to Chrome as of the next Puppeteer release.
- Andreas added a new section for Remote Debugging in about:support to expose the status if Firefox is under remote control and a visual cue in the Firefox UI when the browser is remotely controlled
- We’re steadily implementing more CDP methods on track toward our MVP
- Andreas made it possible to use Page.reload ignoring the browser’s cache
- Thomas Kosmas removed the unnecessarily returned timeout property from various page navigation events
- Henrik added support for Target.activateTarget, which switches to the specified target (tab) in any of the open browser windows. That also fixed a bug in Page.bringToFront, which caused the command to not wait for the window’s “activate” and “focus” events.
- Henrik made it possible for Page.captureScreenshot to save the captured screenshots in different formats and quality
- Andreas added support for Security.setIgnoreCertificateErrors to allow bypassing security exceptions when loading documents with invalid or otherwise bad TLS certificates
- Henrik added support for Emulation.setUserAgentOverride which allows clients to replace the user agent with a custom value.