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.5.tar.gz (5.2 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.5-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: selenium_google_signin-0.1.5.tar.gz
  • Upload date:
  • Size: 5.2 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.5.tar.gz
Algorithm Hash digest
SHA256 7996d7bd8b081e8d1c7def9bd72e6ebe64636f38cd445cd966fb46302c307db4
MD5 7a069320f32fe289b9cd23e0c2fbbb97
BLAKE2b-256 0d067a2cc86588a8a0ee2e00be86f5cce2fb568593b5848df9f4612be232a483

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for selenium_google_signin-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 91cadd2b55103a73ad271b8465e90a01ec9ba0abaca6e219f5b07cc8ebf230ab
MD5 32da6f903d8ae92273ec3535eb4c1ab4
BLAKE2b-256 2e78211f834ff77972f5d5f6548ede9f03a1b31431bb03e8acb626956c512c0d

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