Skip to content

Commit

Permalink
Merge pull request #18 from kevinsawicki/full-api
Browse files Browse the repository at this point in the history
Support full Electron API
  • Loading branch information
kevinsawicki committed Apr 26, 2016
2 parents 1012946 + ab15dfd commit 2607719
Show file tree
Hide file tree
Showing 11 changed files with 764 additions and 561 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
npm-debug.log
lib/api.json
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# 2.37.0

* Added a `restart()` method to `Application`
* Added support for the full Electron API
* Many custom helpers have been removed in favor of accessing the Electron
APIs directly through the new properties on the `Application` object.
* `app.client.getWindowBounds()` should now be `app.browserWindow.getBounds()`
* `app.client.getClipboardText()` should now be `app.electron.clipboard.readText()`
* See the README or https://github.com/kevinsawicki/spectron/pull/18 for
more details.
* You should now use `app.transferPromiseness` instead of `app.client.transferPromiseness`
to ensure these new properties are correctly transferred to chained promises.

# 1.37.1

* Add the `getAppPath(name)` that maps to the
Expand Down
Loading

0 comments on commit 2607719

Please sign in to comment.