This Python script uses Selenium to log into your Gmail account and then join a Google Meet meeting with the camera and microphone turned off.
- Python 3
- pip
- Google Chrome
- ChromeDriver (compatible with your Google Chrome version)
- Install the required packages:
pip install selenium pytz
- Clone the repository:
git clone https://github.com/darkxdd/google_meet_automation.git
- Navigate to the project directory:
cd google_meet_automation
- Run the script:
python main.py
- The script will prompt you for the following inputs:
- Email Address: Your Gmail email address
- Password: Your Gmail password (entered securely)
- Meeting Link: The Google Meet meeting link
- Start Time: The time to join the meeting in the format
HH:MM:SS
(IST) - End Time: The time to leave the meeting in the format
HH:MM:SS
(IST)
- The script will log into your Gmail account, join the meeting, turn off the microphone and camera, and then exit the meeting at the specified end time.
- The script uses the Selenium WebDriver to automate the browser interactions.
- The
Glogin
function logs into your Gmail account by entering the email and password. - The
turnOffMicCam
function finds and clicks the microphone and camera buttons to turn them off before joining the meeting. - The
joinNow
function calculates the wait time before joining and exiting the meeting, and then performs the actual joining and exiting actions. - The script uses the
pytz
library to handle time zone conversions between the user's local time (IST) and UTC.