mirror of
https://github.com/inAudible-NG/audible-activator.git
synced 2024-11-18 03:18:57 +01:00
FIXING - AttributeError: 'WebDriver' object has no attribute 'find_element_by_id'
Updated find_element_by_id to find_element since find_element_by_id is no longer available
This commit is contained in:
parent
79e2cea3ca
commit
c3aedfee05
@ -99,9 +99,9 @@ def fetch_activation_bytes(username, password, options):
|
|||||||
print("[!] Running in DEBUG mode. You will need to login in a semi-automatic way, wait for the login screen to show up ;)")
|
print("[!] Running in DEBUG mode. You will need to login in a semi-automatic way, wait for the login screen to show up ;)")
|
||||||
time.sleep(32)
|
time.sleep(32)
|
||||||
else:
|
else:
|
||||||
search_box = driver.find_element_by_id('ap_email')
|
search_box = driver.find_element('id','ap_email')
|
||||||
search_box.send_keys(username)
|
search_box.send_keys(username)
|
||||||
search_box = driver.find_element_by_id('ap_password')
|
search_box = driver.find_element('id','ap_password')
|
||||||
search_box.send_keys(password)
|
search_box.send_keys(password)
|
||||||
search_box.submit()
|
search_box.submit()
|
||||||
time.sleep(2) # give the page some time to load
|
time.sleep(2) # give the page some time to load
|
||||||
|
Loading…
Reference in New Issue
Block a user