Open yosia-md opened 3 years ago
if args.chrome: from selenium.webdriver.chrome.options import Options
options = Options()
options.add_argument(f'user-agent={userAgent}')
driver = webdriver.Chrome(options=options, executable_path=r"chromedriver.exe")
I got the code just like this anyone?
Refering to your problem.I also had the same issue since i could not do anything about it this is what i did.
i removed and added this:
driver= webdriver.Chrome(executable_path=r"chromedriver.exe") \\ this part is already there and i did not remove or add driver.get("https://www.instagram.com/accounts/emailsignup/") time.sleep(8) try: cookie = driver.find_element_by_xpath('/html/body/div[2]/div/div/div/div[2]/button[1]').click() except: pass name = account.username()
email_field = driver.find_element_by_name('emailOrPhone') fake_email = email.getFakeMail() email_field.send_keys(fake_email) print(fake_email)
it seem to be working
if you are confused contact my gmail- gazitan98@gmail.com i'll send you the file
issue pls help me to clear
usage: botaccountcreate.py [-h] (--firefox | --chrome) botaccountcreate.py: error: one of the arguments --firefox --chrome is required
welp i already set the chromedriver.exe but it didnt work it said this
usage: botAccountCreate.py [-h] (--firefox | --chrome) botAccountCreate.py: error: one of the arguments --firefox --chrome is required