turkseed: login has captcha. resolves #8643

This commit is contained in:
Garfield69 2020-05-16 08:08:27 +12:00
parent ed4aaf64c6
commit 91a46dc749
1 changed files with 5 additions and 1 deletions

View File

@ -72,13 +72,17 @@ login:
path: login.php path: login.php
method: form method: form
form: form[action="takelogin.php"] form: form[action="takelogin.php"]
captcha:
type: image
selector: img#regimage
input: imagestring
inputs: inputs:
username: "{{ .Config.username }}" username: "{{ .Config.username }}"
password: "{{ .Config.password }}" password: "{{ .Config.password }}"
logout: "" logout: ""
submit: "GİRİŞ"
error: error:
- selector: table:contains("HATA") - selector: table:contains("HATA")
- selector: table:contains("Hata")
test: test:
path: index.php path: index.php
selector: a[href*="/logout.php?logouthash="] selector: a[href*="/logout.php?logouthash="]