Skip to content

Commit

Permalink
Update botAccountCreate.py
Browse files Browse the repository at this point in the history
Updated
  • Loading branch information
eaabak authored Mar 2, 2021
1 parent 48b612a commit e6afbc1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions botAccountCreate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from selenium import webdriver
from selenium import webdriver
import time
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
Expand Down Expand Up @@ -30,10 +30,8 @@
print(name)
# Fill password value
password_field = browser.find_element_by_name('password')
# password_field.send_keys(account.generatePassword()) # You can determine another password here.
password_field.send_keys('2565425654') # You can determine another password here.
# print(account.generatePassword())
print('2565425654')
password_field.send_keys(account.generatePassword()) # You can determine another password here.
print(account.generatePassword())
WebDriverWait(browser, 20).until(EC.element_to_be_clickable((By.XPATH, "//*[@id='react-root']/section/main/div/div/div[1]/div/form/div[7]/div/button"))).click()

time.sleep(8)
Expand Down

0 comments on commit e6afbc1

Please sign in to comment.