mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-10-19 06:23:16 +00:00
Support site-specific wait via browsertrix-behaviors (#555)
The 0.6.0 release of Browsertrix Behaviors / webrecorder/browsertrix-behaviors#70 introduces support for site-specific behaviors to implement an `awaitPageLoad()` function which allows for waiting for specific resources on the page load. - This PR just adds a call to this function directly after page load. - Factors out into an `awaitPageLoad()` method used in both crawler and replaycrawler to support the same wait in QA Mode - This is to support custom loading wait time for Instagram (other sites in the future)
This commit is contained in:
parent
75b617dc94
commit
51d82598e7
4 changed files with 32 additions and 24 deletions
|
@ -19,7 +19,7 @@
|
|||
"@novnc/novnc": "^1.4.0",
|
||||
"@types/sax": "^1.2.7",
|
||||
"@webrecorder/wabac": "^2.16.12",
|
||||
"browsertrix-behaviors": "^0.5.3",
|
||||
"browsertrix-behaviors": "^0.6.0",
|
||||
"crc": "^4.3.2",
|
||||
"get-folder-size": "^4.0.0",
|
||||
"husky": "^8.0.3",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue