Hi everyone
I am new to TB.
Is it possible to execute a snippet when a webpage loads?
I am asking for the use case below.
I want the page to load, then i log in, i check my orders then i sign out.
Here is an exampe:
- I visit the orders page via: https://account.johnlewis.com/orders
- however i manually have to click on the email field so i can execute the snippet. Can the snippet automaticlaly start when the page loads?
- even if it doesn't, i dont mind clicking on the email field and start the snippet that way, so my email and password are entered. and i go to the orders page.
- I then want to check the progress of my order. i just need to have a quick glace. and then i want to signout. There is a signout link at the top, but auto pilot wont recognise it. i can also sign out via a link (https://www.johnlewis.com/sign-out)
- as a bonous, if i can then login to another account immedaltly after that. which is why i was asking about the signing out.
so basically, sign in, go to orders page, wait 2 seconds, sign out, then sign in to second account as before.
Thanks very much in advance for your help.