You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-4
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,11 @@ Currently
18
18
*~~`0.3.0` Stream support (instead of promises)~~
19
19
*~~`0.3.1` Migrated to [nightmare](https://github.com/segmentio/nightmare) - 3x faster than Webdriver/Phantom2 and option to open up devTools~~
20
20
*~~`0.3.2` Stream usage cleanup~~
21
-
*~~`0.4.0` Support to keep the session alive~~
22
-
**[pending]* Handle console errors that occur after `DOMContentLoaded` (with configurable timeout)
23
-
**[pending]* Follow and track all internal links
21
+
*~~`0.4.0` Support to keep the session alive via `keepAlive`~~
22
+
*~~`0.5.0` Handles console errors that occur after `DOMContentLoaded` (with configurable timeout `waitAfterLoadedFor (ms)`). Follows links now.~~
23
+
**[pending]* Prevent visiting the same link twice.
24
+
**[pending]* Allow max number of links to follow or timeout.
25
+
**[pending]* Filter function to use for following links (defaults to implicit domain name, within same protocol://host:port)
24
26
**[pending]* Allow for `setup`/`teardown` actions in nightmare (such as login) (or perhaps just use cookies)
25
27
26
28
##Usage
@@ -56,4 +58,9 @@ const hunt = hounds.release({
56
58
}).on('error', console.error)
57
59
```
58
60
59
-
> All [nightmare 2.7.0 options](https://github.com/segmentio/nightmare/tree/2.7.0#nightmareoptions) are supported
61
+
##Options
62
+
63
+
*`url` base URL to start from
64
+
*`keepAlive` don't end the stream or the nightmare session when complete (when combined with `nightmare.show`, allows you to interact with the browser when done).
65
+
*`waitAfterLoadedFor` The number of milliseconds to wait after each page is loaded before following the next link in the queue
66
+
*`nightmare` All [nightmare 2.7.0 options](https://github.com/segmentio/nightmare/tree/2.7.0#nightmareoptions) are supported
0 commit comments