[Tutor] HTTP Request to simulate the interactions with the web application
Mats Wichmann
mats at wichmann.us
Thu Dec 28 14:42:06 EST 2023
On 12/28/23 00:00, Asad wrote:
> Hi All ,
>
> I am planning to automate a daily task on a App . The objective is
> build a python script to Configure the HTTP Request to simulate the
> interactions with the web application. This might involve sending POST
> requests, handling cookies, etc I am planning to use this python script
> with Selenium . I need some guidance or links which can make me understand
> how to write a python script to simulate the interactions with the web
> application like login and authentication to https://hudle.in and use then
> use the booking using SSO or OTP . If there is any script already available
> please share .
>
It's hard to say - there are so many options here.
If auth specifically is the target that's a very well defined workflow,
and there are some choices. I read this article a while back when I
thought i needed that, then it almost immediately ended up being Someone
Else's Problem and I dropped it. See if this gives you any ideas for
your case:
https://dev.to/filipemir/mocking-auth0-tokens-in-python-and-beyond-5dki
but if the target is to simulate the physical interaction with the app -
screen or mouse events like taps, drags, clicks etc. then you really do
need Selenium (not something I've ever done anything with, so no
pointers from me :-( )
More information about the Tutor
mailing list