Chromeless Versions Save

? Chrome automation made simple. Runs locally or headless on AWS Lambda.

v1.5.2

5 years ago

1.5.2 (2018-05-12)

Bug Fixes

v1.5.0

6 years ago

Changelog

Added

v1.4.0

6 years ago

Summary

Long awaited, this release enables setting custom HTTP headers, e.g. for authentication ?

Changelog

Added

  • It's now possible to set custom HTTP headers for all requests wiht setExtraHTTPHeaders(), which is useful for authentication #325 #31 #29 @addnab
  • Extend screenshot with specific file path locally & screenshot element by selector #137, #83, #41, #113 @elisherer
  • Documentation for Chromeless constructor options #243, #54 @janza

v1.3.0

6 years ago

Summary

This release includes a fix to a unhandled-promise-rejection issue which was causing many users some grief.

Changelog

Added

  • It's now possible to specify an S3 object key prefix in with a CHROMELESS_S3_OBJECT_KEY_PREFIX environment variable #224 @pklingem
  • A parameter to specify waitTimeout when waiting for a selector with wait(selector, waitTimeout) #212, #208 @janza

Fixed

  • Mistakes in scrollTo parameters API documentation #220 @okeeffed
  • Typo in mocha/chai example #218 @sul4bh
  • Fixed unhandled promise rejection error in chromeless.end() #213, #187 @janza

v1.2.0

6 years ago

Summary

This release includes a number of new API methods, a few enhancements, and some fixes. Important to note is that we've made some API method name changes as we've settled on a method naming convention. According to semver, we should bump the version to 2.0.0, however just this time, we're not going to since the project is still new and likely not yet in production in a lot of places. Many profuse apologies to our semver-purist friends.

Many thanks to all the contributors who have contributed much of the new API functionalities. ? ?? A special thanks to @criticalbh and @joeyvandijk for a great job implementing many of the API methods requested by the community. ? ? ?

Changelog

Added

  • clearInput() API method #151, #133 @criticalbh
  • setViewport() API method #115 @joeyvandijk
  • setFileInput() API method #100, #170 @criticalbh
  • clearCache() API method #122 @joeyvandijk
  • scrollToElement() command and scrollBeforeClick constructor option #15, #167 @janza
  • cookies(name: string) API method #183 @criticalbh
  • Mocha E2E tests example #164 @FabioAntunes

Changed

  • Breaking: renamed cookiesClear() to deleteCookies(), cookiesClearAll() to clearCookies() #123 @joeyvandijk
  • Breaking: renamed cookiesGet(name: string | query: CookieQuery) to cookies(name: string | query: CookieQuery), cookiesGet() to cookies() and cookiesGetAll() to allCookies() #183 @criticalbh
  • Breaking: renamed cookiesSet() to setCookies(), cookiesGet() to cookies() and cookiesGetAll() to allCookies() #185 @adieuadieu

Fixed

  • Chromeless can now be imported into TypeScript projects with activated strictNullChecks compiler option #154 @clebert
  • Fixed an issue in clearCookies() to check that it can clear cookies before trying to clear them #123 @joeyvandijk
  • When initialising runtime with options.launchChrome = false, use port from options instead of this.chromeInstance, the latter of which does not contain port information when Chromeless did not launch Chrome itself (e.g. in the Proxy) #162, #99 (comment), #159 @torbs
  • Removed packaging excludes in the Proxy so that chrome-launcher dependencies are included in the deployment package. #99 (comment), #173 @adieuadieu
  • We're now using os.tmpdir() when saving screenshots/pdfs to disk. #129, #172, #137 @Kivol, @elisherer

v1.1.0

6 years ago

Summary

This release includes a number of new API methods, and a few enhancements. Using chrome-launcher, Chromeless will now launch Chrome automatically when it detects that Chrome isn't already running. Most notably, the majority of the new functionality has been contributed by the community—thank you all! ?

Changelog

Added

  • When using Chromeless locally, Chromeless will now boot Chrome automatically #120 @joelgriffith
  • html() and setHtml() API methods for getting and setting HTML #112, #74 @seangransee
  • mousedown() and mouseup() API methods #118 @criticalbh
  • focus() API method #132 @criticalbh
  • pdf() API method #84 @seangransee
  • setUserAgent() API method to set the user-agent #117 @joeyvandijk
  • CODE_OF_CONDUCT.md, CONTRIBUTING.md

Changed

  • CDP options now get passed to CDP.New() #103 @liady
  • .evaluate() now returns the resulting value or a Promise #110 @joelgriffith
  • README improvements. @timsuchanek @adieuadieu @hax @Chrisgozd @githubixx @d2s @vladgolubev

Fixed

  • Ensure latest version of Serverless is used during deployment. #58 @adieuadieu
  • package repository url #64 @Hazealign
  • Spelling and minor bugfix when Chromeless calls Version in CPD #120 @joelgriffith

v1.0.0

6 years ago

Initial public release.