{"id":15527169,"url":"https://github.com/ngminhhoang1412/logingmailselenium","last_synced_at":"2025-04-23T12:23:07.247Z","repository":{"id":63291040,"uuid":"566634354","full_name":"ngminhhoang1412/LoginGmailSelenium","owner":"ngminhhoang1412","description":"This is a small package to log in to Google account with Selenium. After signin, Chrome profile of that user will be create and stored. With Chrome profile you can do so many automatic things with it.","archived":false,"fork":false,"pushed_at":"2023-06-27T11:35:37.000Z","size":5647,"stargazers_count":18,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T10:39:05.594Z","etag":null,"topics":["gmail","login","selenium-webdriver"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ngminhhoang1412.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-16T04:41:30.000Z","updated_at":"2024-12-09T11:28:01.000Z","dependencies_parsed_at":"2025-03-05T12:42:07.589Z","dependency_job_id":null,"html_url":"https://github.com/ngminhhoang1412/LoginGmailSelenium","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngminhhoang1412%2FLoginGmailSelenium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngminhhoang1412%2FLoginGmailSelenium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngminhhoang1412%2FLoginGmailSelenium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngminhhoang1412%2FLoginGmailSelenium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngminhhoang1412","download_url":"https://codeload.github.com/ngminhhoang1412/LoginGmailSelenium/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250431458,"owners_count":21429480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gmail","login","selenium-webdriver"],"created_at":"2024-10-02T11:04:51.115Z","updated_at":"2025-04-23T12:23:07.222Z","avatar_url":"https://github.com/ngminhhoang1412.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Google login with Selenium**\n\n## Overview\nThis is a small package to log in to Google account with Selenium. After signin,\nChrome profile of that user will be create and stored. With Chrome profile you can do so many automatic things\nwith it.\n\nAlways active extension is installed by default. \nTo store the profile with minimum size on disk, WorkerService cache, OptimizationGuide and cache is cleared when quitting driver.\n\n\u003eThis has been developed for testing purposes only.\n\u003e Any action you take using this script is strictly at your own risk. \n\u003e I will not be liable for any losses or damages you face using this script.\n\n## Requirement\nMust have Python \u003c= 3.9 and Google Chrome installed.\n\n## Usage\n```pycon\npip install login_gmail_selenium\n```\nAnd then on example.py\n```pycon\nfrom login_gmail_selenium.util.profiles.profile import GoogleProfile\nfrom login_gmail_selenium.util.profiles.google_profile import Profile\n\nprofile = GoogleProfile(email, password, backup_email)\n# profile = Profile(name_profile) If don't need login to google but save driver\n# To allow downloads add insecure=True to ChromeProfile\n# To handle false email with custom functions, use param false_email_callback\ndriver = profile.retrieve_driver()\nprofile.start()\n# Do whatever with driver afterward\ndriver.get('https://www.google.com/')\ndriver.quit()\n...\n```\n1. Add folder extension/ if you want custom extensions for Chrome (.crx or .zip)\n2. The temp folder's content will be generated by the library.\nYour folder should look like this\n```cvs\n/temp\n    /profiles\n        /profile1\n        /profile2\n    /blank_profiles\n        /blank_profiles1\n        /blank_profiles2\n/extension\n    /custom_extension\n        extension1.zip\n        extension2.crx\nexample.py\n```\n\n## License\nCopyright © 2022 [MoliGroup](https://moligroup.co/), [MIT license](./LICENSE). \nFor an improvement or a bug please feel free to open a PR\n\nFor work information please contact ngminhhoang1412@gmail.com or \n[LinkedIn](https://www.linkedin.com/in/ho%C3%A0ng-nguy%E1%BB%85n-1b13481b7/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngminhhoang1412%2Flogingmailselenium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngminhhoang1412%2Flogingmailselenium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngminhhoang1412%2Flogingmailselenium/lists"}