Update chapter-05-gbdialog-reference.md
This commit is contained in:
parent
2980e59163
commit
262dee2ef3
1 changed files with 20 additions and 0 deletions
|
@ -85,6 +85,26 @@ The following file types are loaded from a .gbdialog package: `.vbs`, `.vb`, `.b
|
|||
|
||||

|
||||
|
||||
### Use General Bots Web Automation
|
||||
|
||||
```
|
||||
mobile = "5521000000000"
|
||||
|
||||
page = GET HTML "https://www.any-website.com/"
|
||||
SET page, "#usuario", "user"
|
||||
SET page, "#j_password", "xxxxxxxxxxx"
|
||||
|
||||
|
||||
img = GET page, "[name=iCaptcha]", "body > img"
|
||||
SEND FILE TO mobile, img
|
||||
TALK TO mobile, "Digite o código da imagem para prosseguir:"
|
||||
SET HEAR ON mobile
|
||||
HEAR captcha
|
||||
SET page, "#captcha", captcha
|
||||
|
||||
CLICK page, "#bt-login"
|
||||
TALK TO mobile, "Login done, thanks."
|
||||
```
|
||||
|
||||
### Using POST data
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue