I need a free, open-source solution to automate Gemini processes via Gmail login using Katalon Studio or Selenium with Java, requiring a method to save authentication like user profiles or cookies. #120674
Replies: 1 comment
-
If possible, try to avoid using Selenium and use the API directly. Google itself provides an API and a Python package To use this API, you will need an API key. No need to go tango with Gmail or passwords. If you are interested, here is the official documentation. It also tells you how to get the key. In total, it's just a few lines of code. So... if you insist doing it the hard way you could do it all with Selenium, as you mentioned. If you want to be on the safe side, you can even save all cookies in a file and load them again later. The process is described here. Again, my personal recommendation is to use the Python package by Google. It will save you a lot of frustration. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I need help regarding a requirement shared below, any help would be greatly appreciated.
Goal:
My objective is to automate some process on Gemini, a platform that requires login via Gmail. I intend to use either Katalon Studio or Selenium with Java for the automation process. However, the challenge lies in the authentication process since Gemini mandates login via Gmail.
To tackle this challenge, I'm in need of a solution that allows saving either a logged-in user's profile, cookies, or any other method that facilitates authentication. It's crucial that this solution is free and open-source.
Beta Was this translation helpful? Give feedback.
All reactions