Skip to main content

Helps you sign in to Google and remember it automatically.

Project description

Selenium-google-signin helps to automate google signin via selenium.

Once logged in, it saves the logged in information in a cache directory, which can be
utilized the next time you need to log in to avoid typing.
Don't worry, it doesn't save the username and password used to log in.

Installation

pip install selenium-google-signin

What it can do:

You can use it as follows

# ./main.py 

from selenium_google_signin import launch_selenium
from selenium_google_signin import login_to_google

if __name__ == '__main__':
    driver = launch_selenium('/path/where/chromedriver')
    login_to_google(driver)
    driver.quit()

You can store the ID and password in the environment beforehand.

$export GOOGLE_ID='Your ID'
$export GOOGLE_PWD='Your Password'

python ./main.py

or

cat >> .env << EOF
GOOGLE_ID='Your ID'
GOOGLE_PWD='Your Password'
EOF

python ./main.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

selenium_google_signin-0.1.4.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

selenium_google_signin-0.1.4-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file selenium_google_signin-0.1.4.tar.gz.

File metadata

  • Download URL: selenium_google_signin-0.1.4.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for selenium_google_signin-0.1.4.tar.gz
Algorithm Hash digest
SHA256 77e838d49ed246205c4c023f68d4a6c4b987d0d9c6bc449e5d0f7118081002aa
MD5 40fcdd6d8baae7ad86105826f231f8c9
BLAKE2b-256 df1022beca66c0fea49f3cf824335b938844ce915032192481598cbbcc95924e

See more details on using hashes here.

File details

Details for the file selenium_google_signin-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for selenium_google_signin-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6d318c7b3e44b61e264cb1f5bf79a09e721a31089c9150298f870ab7be0f22e8
MD5 debf4122c103070d4f5cd89a64b083d6
BLAKE2b-256 7a7a09930717ef9291afbe6d3051f79ea5480ba863bc2f1876feb0ece78f3251

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page