@tothalex/cloud 0.0.45 → 0.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tothalex/cloud",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "main": "",
5
5
  "types": "./src/index.d.ts",
6
6
  "files": [
@@ -49,6 +49,17 @@ declare module 'cloud/spider' {
49
49
  redirectPolicy?: RedirectPolicy
50
50
  /** Only crawl HTML pages, skip other resources (default: false) */
51
51
  onlyHtml?: boolean
52
+
53
+ /** Wait for a CSS selector to appear before returning (chrome only) */
54
+ waitForSelector?: string
55
+ /** Wait for a fixed delay in milliseconds before returning (chrome only) */
56
+ waitForDelay?: number
57
+ /** Max timeout in milliseconds for all waitFor operations (chrome only, default: 30000) */
58
+ waitForTimeout?: number
59
+ /** Wait for network to become idle before returning (chrome only) */
60
+ waitForIdleNetwork?: boolean
61
+ /** Wait for page navigations/redirects to complete before returning (chrome only) */
62
+ waitForPageNavigations?: boolean
52
63
  }
53
64
 
54
65
  /** A crawled page with its content */