Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

botAccountCreate.py #37

Open
yosia-md opened this issue Jun 13, 2021 · 4 comments
Open

botAccountCreate.py #37

yosia-md opened this issue Jun 13, 2021 · 4 comments

Comments

@yosia-md
Copy link

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

@yosia-md
Copy link
Author

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?

@gazitan790
Copy link

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

#Fill the email value
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

@gazitan790
Copy link

if you are confused contact my gmail- [email protected] i'll send you the file

@sheikabbas24
Copy link

issue pls help me to clear
Screenshot 2021-08-06 021105

usage: botaccountcreate.py [-h] (--firefox | --chrome)
botaccountcreate.py: error: one of the arguments --firefox --chrome is required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants