Skip to content

Commit

Permalink
Document debuggerAddress option
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Jun 2, 2016
1 parent fe5f468 commit 1f38b99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ Create a new application with the following options:
* `waitTimeout` - Number in milliseconds to wait for calls like
`waitUntilTextExists` and `waitUntilWindowLoaded` to complete.
Defaults to `5000` milliseconds.
* `debuggerAddress` - String address of a Chrome debugger server to connect to.

### Node Integration

Expand Down
4 changes: 1 addition & 3 deletions lib/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ function Application (options) {
this.args = options.args || []
this.env = options.env || {}
this.workingDirectory = options.cwd || process.cwd()
if (options.debuggerAddress) {
this.debuggerAddress = options.debuggerAddress;
}
this.debuggerAddress = options.debuggerAddress

this.api = new Api(this, {requireName: options.requireName})
this.setupPromiseness()
Expand Down

0 comments on commit 1f38b99

Please sign in to comment.