forked from projectdiscovery/nuclei
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(headless): supporting standard lifecycle events (projectdiscover…
…y#5632) * refactor(headless): use `WaitStable` for `waitload` action Signed-off-by: Dwi Siswanto <[email protected]> * feat(headless): add `getNavigationFunc` Signed-off-by: Dwi Siswanto <[email protected]> * feat(headless): add `WaitDOM` action Signed-off-by: Dwi Siswanto <[email protected]> * feat(headless): add `WaitFMP` action Signed-off-by: Dwi Siswanto <[email protected]> * feat(headless): add `WaitFCP` action Signed-off-by: Dwi Siswanto <[email protected]> * feat(headless): add `WaitIdle` action Signed-off-by: Dwi Siswanto <[email protected]> * refactor(headless): `ActionWaitLoad` waits for `proto.PageLifecycleEventNameLoad` also rename `Page.WaitLoad` to `Page.WaitStable` method. Signed-off-by: Dwi Siswanto <[email protected]> * feat(headless): add `WaitStable` action Signed-off-by: Dwi Siswanto <[email protected]> * refactor(headless): supporting `duration` arg for `WaitStable` action Signed-off-by: Dwi Siswanto <[email protected]> * chore: ignore `*.png` Signed-off-by: Dwi Siswanto <[email protected]> * test(headless): update `TestActionScreenshot*` call `ActionWaitFMP` instead of `WaitLoad` before take screenshot Signed-off-by: Dwi Siswanto <[email protected]> * feat(headless): chained with `Timeout` when `WaitStable` Signed-off-by: Dwi Siswanto <[email protected]> --------- Signed-off-by: Dwi Siswanto <[email protected]>
- Loading branch information
1 parent
3d2f31a
commit 4cd065d
Showing
4 changed files
with
92 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters