# Define the account details accounts = [ {"name": "account1", "password": "password1", "recovery_email": "recovery1@example.com"}, {"name": "account2", "password": "password2", "recovery_email": "recovery2@example.com"}, # ... ]
# Create the accounts for account in accounts: driver.get("https://accounts.google.com/signup") # Fill out the form driver.find_element_by_name("firstName").send_keys(account["name"]) driver.find_element_by_name("lastName").send_keys("") driver.find_element_by_name("username").send_keys(account["name"]) driver.find_element_by_name("password").send_keys(account["password"]) driver.find_element_by_name("recoveryEmail").send_keys(account["recovery_email"]) # Submit the form driver.find_element_by_xpath("//*[contains(text(), 'Next')]").click() Note that this code example is for illustration purposes only and may require modifications to work with the current Gmail signup process.
import selenium from selenium import webdriver
You can also use scripting languages like Python or JavaScript to automate the process of creating bulk Gmail accounts. For example, you can use Python's selenium library to automate the Gmail account creation process.
You can create multiple Gmail accounts manually by using the Gmail web interface. However, this method is time-consuming and not efficient for bulk creation.
# Set up the webdriver driver = webdriver.Chrome()