|
1 | | -# Gmail Account Creation Automation Script - Version 1.0.0 |
| 1 | +# Gmail Account Creation Automation Script - Version 1.1.0 |
2 | 2 | # Original script by Abdelhakim Khaouiti (khaouitiabdelhakim on GitHub) |
3 | 3 |
|
4 | 4 | from selenium import webdriver |
5 | 5 | from selenium.webdriver.common.by import By |
6 | 6 | from selenium.webdriver.support.ui import Select, WebDriverWait |
7 | 7 | from selenium.webdriver.support import expected_conditions as EC |
8 | | -from selenium.webdriver.firefox.service import Service |
9 | 8 |
|
10 | | -# Create a Service object with the executable path (GeckoDriver) |
11 | | -service = Service('./geckodriver') |
| 9 | +from selenium.webdriver.chrome.service import Service as ChromeService |
| 10 | +from selenium.webdriver.chrome.options import Options as ChromeOptions |
| 11 | + |
| 12 | +#chrome_options = ChromeOptions() |
| 13 | +#chrome_options.add_argument("--disable-infobars") # Optional: Disable info bars |
| 14 | + |
| 15 | +service = ChromeService('chromedriver.exe') |
| 16 | +driver = webdriver.Chrome(service=service) #, options=chrome_options) |
12 | 17 |
|
13 | | -# Initialize the Firefox driver with the Service object |
14 | | -driver = webdriver.Firefox(service=service) |
15 | 18 |
|
16 | 19 | # your data |
17 | 20 | your_first_name = "Gamal" |
18 | | -your_last_name = "Doe" |
19 | | -your_username = "gama1445pro" # gama1445pro@gmail.com // make sure to be unique |
| 21 | +your_last_name = "DoeLy" |
| 22 | +your_username = "gamadoe1445pro" # gama1445pro@gmail.com // make sure to be unique |
20 | 23 | your_birthday = "02 3 1999" #dd m yyyy exp : 24 11 2003 |
21 | 24 | your_gender = "1" # 1:F 2:M 3:Not say 4:Custom |
22 | 25 | your_password = "x,nscldsj123...FDKZ" |
|
0 commit comments