chrome-remote-interface
Advanced tools
Comparing version 0.28.2 to 0.29.0
@@ -78,2 +78,6 @@ 'use strict'; | ||
}); | ||
// add utility listener for each domain | ||
object[domainName].on = (eventName, handler) => { | ||
return object[domainName][eventName](handler); | ||
}; | ||
}); | ||
@@ -80,0 +84,0 @@ } |
@@ -18,3 +18,3 @@ { | ||
"homepage": "https://github.com/cyrus-and/chrome-remote-interface", | ||
"version": "0.28.2", | ||
"version": "0.29.0", | ||
"repository": { | ||
@@ -21,0 +21,0 @@ "type": "git", |
@@ -70,8 +70,8 @@ # chrome-remote-interface [![Build Status][]][travis] | ||
---------------------------|--------------------|------------|--------|-------|------------|---------|----------- | ||
[Google Chrome][1.1] | [tip-of-tree][1.2] | yes¹ | yes | yes | yes | yes | yes | ||
[Chrome][1.1] | [tip-of-tree][1.2] | yes¹ | yes | yes | yes | yes | yes | ||
[Opera][2.1] | [tip-of-tree][2.2] | yes | yes | yes | yes | yes | yes | ||
[Node.js][3.1] ([v6.3.0]+) | [node][3.2] | yes | no | no | no | no | yes | ||
[Safari (iOS)][4.1] | [*partial*][4.2] | no | yes | no | no | no | no | ||
[Microsoft Edge][5.1] | [*partial*][5.2] | yes | yes | no | no | no | yes | ||
[Mozilla Firefox][6.1] | [*partial*][6.2] | yes | yes | no | yes | yes | yes | ||
[Edge][5.1] | [*partial*][5.2] | yes | yes | no | no | no | yes | ||
[Firefox (Nightly)][6.1] | [*partial*][6.2] | yes | yes | no | yes | yes | yes | ||
@@ -97,3 +97,3 @@ ¹ Not available on [Chrome for Android][chrome-mobile-protocol]. | ||
[6.1]: #firefox | ||
[6.1]: #firefox-nightly | ||
[6.2]: https://firefox-source-docs.mozilla.org/remote/index.html | ||
@@ -186,9 +186,9 @@ | ||
### Firefox | ||
### Firefox (Nightly) | ||
Start Firefox with the `--remote-debugger` option, for example: | ||
Start Firefox with the `--remote-debugging-port` option, for example: | ||
firefox --remote-debugger | ||
firefox --remote-debugging-port 9222 | ||
Just make sure to set the `remote.enabled` preference to `true`. | ||
Bear in mind that this is an experimental feature of Firefox. | ||
@@ -727,2 +727,8 @@ ## Bundled client | ||
Additionally, the equivalent `<domain>.on('<method>', ...)` syntax is available, for example: | ||
```js | ||
client.Network.on('requestWillBeSent', console.log); | ||
``` | ||
#### Event: 'ready' | ||
@@ -729,0 +735,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1424295
19467
941