torrentccf: add login captcha error trap

This commit is contained in:
Garfield69 2020-01-01 19:17:58 +13:00
parent 123a56f577
commit 5b45cb438a
1 changed files with 3 additions and 1 deletions

View File

@ -75,9 +75,11 @@
username: "{{ .Config.username }}"
password: "{{ .Config.password }}"
error:
- selector: td.embedded:has(h2:contains("失败"))
- selector: td.embedded:has(h2:contains("登录失败"))
test:
path: torrents.php
path: index.php
selector: a[href="logout.php"]
search:
paths: