Skip to content

Commit

Permalink
Merge pull request schickling#270 from adieuadieu/master
Browse files Browse the repository at this point in the history
v1.3.0
  • Loading branch information
adieuadieu authored Aug 29, 2017
2 parents ba8e9b9 + c1ecd82 commit 075de5d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 13 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]

### Added
- It's now possible to specify an S3 object key prefix in with a `CHROMELESS_S3_OBJECT_KEY_PREFIX` environment variable [#224](https://github.com/graphcool/chromeless/pull/224) @pklingem
- A parameter to specify `waitTimeout` when waiting for a seletor with `wait(selector, waitTimeout)` [#212](https://github.com/graphcool/chromeless/pull/212), [#208](https://github.com/graphcool/chromeless/issues/208) @janza

### Changed

### Fixed


## [1.3.0] - 2017-08-29

### Added
- It's now possible to specify an S3 object key prefix in with a `CHROMELESS_S3_OBJECT_KEY_PREFIX` environment variable [#224](https://github.com/graphcool/chromeless/pull/224) @pklingem
- A parameter to specify `waitTimeout` when waiting for a seletor with `wait(selector, waitTimeout)` [#212](https://github.com/graphcool/chromeless/pull/212), [#208](https://github.com/graphcool/chromeless/issues/208) @janza

### Fixed
- Mistakes in `scrollTo` parameters API documentation [#220](https://github.com/graphcool/chromeless/pull/220) @okeeffed
- Typo in mocha/chai example [#218](https://github.com/graphcool/chromeless/pull/218) @sul4bh
- Fixed unhandled promise rejection error in `chromeless.end()` [#213](https://github.com/graphcool/chromeless/pull/213), [#187](https://github.com/graphcool/chromeless/issues/187) @janza


## [1.2.0] - 2017-08-06

### Added
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chromeless",
"version": "1.2.0",
"version": "1.3.0",
"description": "🖥 Chrome automation made simple. Runs locally or headless on AWS Lambda.",
"homepage": "https://github.com/graphcool/chromeless",
"license": "MIT",
Expand All @@ -13,9 +13,7 @@
},
"main": "dist/src/index.js",
"typings": "dist/src/index.d.ts",
"files": [
"dist"
],
"files": ["dist"],
"engines": {
"node": ">= 6.10.0"
},
Expand Down
4 changes: 2 additions & 2 deletions serverless/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chromeless-remotechrome-servie",
"version": "1.2.0",
"version": "1.3.0",
"description": "The Chromeless Proxy AWS Lambda service",
"homepage": "https://github.com/graphcool/chromeless",
"license": "MIT",
Expand All @@ -12,7 +12,7 @@
},
"dependencies": {
"aws4": "^1.6.0",
"chromeless": "^1.2.0",
"chromeless": "^1.3.0",
"cuid": "^1.3.8",
"mqtt": "^2.11.0",
"source-map-support": "^0.4.15"
Expand Down
6 changes: 3 additions & 3 deletions serverless/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,9 @@ chrome-remote-interface@^0.24.2:
commander "2.1.x"
ws "2.0.x"

chromeless@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/chromeless/-/chromeless-1.1.0.tgz#9e40221544bd289263fc87cb2ea8e46a4d2a0468"
chromeless@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/chromeless/-/chromeless-1.2.0.tgz#d2770e204f3e93fd406dd6bf9fb7efd81fb3dc1b"
dependencies:
aws-sdk "^2.90.0"
bluebird "^3.5.0"
Expand Down
4 changes: 2 additions & 2 deletions src/chrome/local-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default class LocalRuntime {
case 'mousedown':
return this.mousedown(command.selector)
case 'mouseup':
return this.mousup(command.selector)
return this.mouseup(command.selector)
case 'focus':
return this.focus(command.selector)
case 'clearInput':
Expand Down Expand Up @@ -223,7 +223,7 @@ export default class LocalRuntime {
this.log(`Mousedown on ${selector}`)
}

private async mousup(selector: string): Promise<void> {
private async mouseup(selector: string): Promise<void> {
if (this.chromelessOptions.implicitWait) {
this.log(`mouseup(): Waiting for ${selector}`)
await waitForNode(
Expand Down

0 comments on commit 075de5d

Please sign in to comment.