Skip to content

Commit

Permalink
update 0.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneet committed Nov 24, 2017
1 parent 5103d4b commit 2a84760
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## 0.5.6 - 2017-10-XX
## 0.5.7 - 2017-11-24
- evaluate method can accept arguments #86

## 0.5.6 - 2017-10-25
- fix a custom user agent problem #81
- fix a redirect issue in .goto() #78
- fix a url format issue in .goto() #78
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ chromy.chain()
* [.forward()](#forward)
* [.back()](#back)
* [.inject(type, file)](#injecttype-file)
* [.evaluate(func|source)](#evaluatefuncsource)
* [.evaluate(func|source)](#evaluatefuncsourceargs)
* [.result(func)](#resultfunc)
* [.end()](#end)
* [.exists(selector)](#existsselector)
Expand Down Expand Up @@ -218,7 +218,7 @@ Injects a file into browser as a javascript or a css.
type: must be 'js' or 'css'
file: injected file.

##### .evaluate(func|source)
##### .evaluate(func|source, args)

Evaluates a expression in the browser context.
If the expression returns a Promise object, the promise is resolved automatically.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chromy",
"version": "0.5.6",
"version": "0.5.7",
"description": "The library for manipulating headless chrome with Nightmare.js like API.",
"main": "dist/index.js",
"directories": {
Expand Down

0 comments on commit 2a84760

Please sign in to comment.