New question #222395 on Sikuli:
https://answers.launchpad.net/sikuli/+question/222395
Hello.
I have a web app and at one point I want to test a complicated webpage with
Sikuli.
Basically I want to use the POST method to simulate user actions.
I do the login with Sikuli and at some point I have to select multiple options
that involve pick lists...
I think is more easy to just send the POST info.
For python I found this example:
from requests import session
payload = {
'action': 'login',
'username': USERNAME,
'password': PASSWORD
}
with session() as c:
c.post('http://example.com/login.php', data=payload)
request = c.get('http://example.com/protected_page.php')
print request.headers
print request.text
I want to do something similar with Sikuli, but I didn't manage to find how.
Please give me some hints/tips.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp