1

I am trying to login to a site where I quick-registered using my Gmail account, so every time I login, I have to login through Gmail, and I don't have any specific username/password.

I want my Python script to login to the site using my Gmail credentials, fetch a few PDFs from it, and log-out.

I am stuck at the logging-in part. I tried to inspect the "Sign in with Google" page, to find a url to post my credentials to (as per the answer given here), but all I see is some jsaction and jscontrollers tags which I can't comprehend.

Any sort of help will be appreciated.Thanks.

Siddharth Dushantha
  • 1,391
  • 11
  • 28
Tarun
  • 11
  • 1
  • You can use Selenium to do this. Check out [this tutorial](https://crossbrowsertesting.com/blog/test-automation/automate-login-with-selenium/) on how to use Selenium to login to websites. Once you understand the tutorial, you will have to find the ids for your Google login page so that you can insert the text in the correct place. Good luck on your project! :) – Siddharth Dushantha Feb 02 '20 at 08:33

0 Answers0