I'm writing a Auto-Fill bot for Paypal Checkout. The paypal login page is redirected from another website, so it is slightly different to the offical paypal login page, though the HTML is similar.
I've tried different methods like switch to frame
, scroll down
, execute_script
. However, none of them are working and I'm not able to send_keys
.
The same things working fine on the official Paypal login page as below:
https://www.paypal.com/signin/?country.x=US&locale.x=en_US
The one that I'm struggling with is:
https://www.paypal.com/checkoutnow?token=EC-1P412919U09359725#/checkout/login
In your page there is one loader and after that your login options displays in
iframe
so first you need to putExplicitWait
until your frame get visible and then need to switch into that frame to perform action.I have following code for the same in Java
This is equivalent code in Python (Please make correction I'm not much familiar with python )