mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 04:45:27 +00:00
* fix waitEvent action * avoid future panics * integration test + bug fix * headless: add max-duration support in waitevent * fix comment + max-duration input
24 lines
454 B
YAML
24 lines
454 B
YAML
id: headless-waitevent
|
|
|
|
info:
|
|
name: WaitEvent
|
|
severity: info
|
|
author: pdteam
|
|
|
|
headless:
|
|
- steps:
|
|
# note waitevent must be used before navigating to any page
|
|
# unlike waitload
|
|
- action: waitevent
|
|
args:
|
|
event: 'Page.loadEventFired'
|
|
max-duration: 15s
|
|
|
|
- action: navigate
|
|
args:
|
|
url: "{{BaseURL}}/"
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "<html>" |