Skip to content

Commit b5dd3f3

Browse files
bug fixed
1 parent 50239e0 commit b5dd3f3

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

chromedriver.exe

16.2 MB
Binary file not shown.

gmail_automation.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
1-
# Gmail Account Creation Automation Script - Version 1.0.0
1+
# Gmail Account Creation Automation Script - Version 1.1.0
22
# Original script by Abdelhakim Khaouiti (khaouitiabdelhakim on GitHub)
33

44
from selenium import webdriver
55
from selenium.webdriver.common.by import By
66
from selenium.webdriver.support.ui import Select, WebDriverWait
77
from selenium.webdriver.support import expected_conditions as EC
8-
from selenium.webdriver.firefox.service import Service
98

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)
1217

13-
# Initialize the Firefox driver with the Service object
14-
driver = webdriver.Firefox(service=service)
1518

1619
# your data
1720
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
2023
your_birthday = "02 3 1999" #dd m yyyy exp : 24 11 2003
2124
your_gender = "1" # 1:F 2:M 3:Not say 4:Custom
2225
your_password = "x,nscldsj123...FDKZ"

0 commit comments

Comments
 (0)