Automate Gmail using Python and Selenium - A to Z tutorial with full working script to automate

preview_player
Показать описание
This video explains how to Automate Gmail using Python and Selenium

If you have error to execute the code, see the video below:

Virtual Environment Setup commands:
===============================
pip3 install pipenv # for windows use pip instead of pip3
pipenv shell
pipenv install selenium

Code used in this tutorial:
=================================

from selenium import webdriver

chrome_driver_location = '/Users/me/Desktop/gmail account login/utilities/chromedriver'
gmail_username = 'your_gmail_address'
gmail_password = 'your_gmail_password'

driver = webdriver.Chrome(executable_path=chrome_driver_location)

♥️ Subscribe Few Steps:

🔥 Python/Data Science Playlist:

🌃Windows Playlist:

🍎Mac Playlist:

Final Cut Pro X Playlist:

🐍 Automate Boring Tasks Using Python and Selenium:

🌎 Wordpress Playlist:

🍁 Java Selenium Playlist:

😱 Most Recent Videos:

😸 All Channel Videos:

#python #datascience #fewsteps
Рекомендации по теме
Комментарии
Автор

can't get the password field to fill with that code, I get:

Element <input class="whsOnd zHQkBf" name="password" type="password"> is not reachable by keyboard

Probably a google update that prevents this method from working?

MichaelShingo
Автор

I am getting error
Couldn't sign you in

This browser or app may not be secure

AbhishekKumar-jxqg
Автор

Hi, thank you for the video. But Gmail has modified the next button, and when I located it, the clicking was failed by 'element not interactable'. Can you fix it?

xiaozhenyuan
Автор

HI! I am having some error :-

Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in.

ankurrajpali
Автор

Chrome close automtically when it just open, how to fix it ?

HoangPhuongPham-zogx
Автор

WHAT? Login form ask you for email or phone and you send some user name and it works? I am here because my email throws me an Browser or app is not secure error. You type something which is absolutely incorrect and it works. It drives me crazy.

camotobe
Автор

This is an excellent video. It has everything from start to end !

kvsparvati
Автор

i need script like this but for google account creation

redmoonxmusic
Автор

Is this working? Can you make for windows too?

rispan
visit shbcf.ru