fix headless

patch-1
Dhiyaneshwaran 2024-01-07 21:01:05 +05:30 committed by GitHub
parent ef2966fff1
commit f26c121376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 9 deletions

View File

@ -15,17 +15,14 @@ info:
self-contained: true
http:
- method: GET
path:
- "https://thepiratebay.org/search.php?q=user:{{user}}'
headless:
- steps:
- args:
url: 'https://thepiratebay.org/search.php?q=user:{{user}}'
action: navigate
- action: waitload
matchers-condition: and
matchers:
- type: dsl
dsl:
- "!contains(data,'No results returned')"
- type: status
status:
- 200