Releases: schickling/chromeless
v1.5.2
v1.5.0
v1.4.0
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
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 withwait(selector, waitTimeout)
#212, #208 @janza
Fixed
v1.2.0
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 @criticalbhsetViewport()
API method #115 @joeyvandijksetFileInput()
API method #100, #170 @criticalbhclearCache()
API method #122 @joeyvandijkscrollToElement()
command andscrollBeforeClick
constructor option #15, #167 @janzacookies(name: string)
API method #183 @criticalbh- Mocha E2E tests example #164 @FabioAntunes
Changed
- Breaking: renamed
cookiesClear()
todeleteCookies()
,cookiesClearAll()
toclearCookies()
#123 @joeyvandijk - Breaking: renamed
cookiesGet(name: string | query: CookieQuery)
tocookies(name: string | query: CookieQuery)
,cookiesGet()
tocookies()
andcookiesGetAll()
toallCookies()
#183 @criticalbh - Breaking: renamed
cookiesSet()
tosetCookies()
,cookiesGet()
tocookies()
andcookiesGetAll()
toallCookies()
#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
, useport
fromoptions
instead ofthis.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
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()
andsetHtml()
API methods for getting and setting HTML #112, #74 @seangranseemousedown()
andmouseup()
API methods #118 @criticalbhfocus()
API method #132 @criticalbhpdf()
API method #84 @seangranseesetUserAgent()
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
Initial public release.