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

Outdate #4

Open
Rabbit0x0 opened this issue May 2, 2022 · 2 comments
Open

Outdate #4

Rabbit0x0 opened this issue May 2, 2022 · 2 comments

Comments

@Rabbit0x0
Copy link

Ausnahme: NoSuchElementException
Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[1]/div/div[3]/div/div/div/div[2]/div/div[1]/div/div/div/div[2]/span[1]"}
(Session info: chrome=102.0.5005.27)
Stacktrace:
Backtrace:
Ordinal0 [0x00422733+2434867]
Ordinal0 [0x003B07A1+1968033]
Ordinal0 [0x0029C678+837240]
Ordinal0 [0x002C94E0+1021152]
Ordinal0 [0x002C977B+1021819]
Ordinal0 [0x002F6592+1205650]
Ordinal0 [0x002E4484+1131652]
Ordinal0 [0x002F4892+1198226]
Ordinal0 [0x002E4256+1131094]
Ordinal0 [0x002BE840+976960]
Ordinal0 [0x002BF736+980790]
GetHandleVerifier [0x00693C72+2515426]
GetHandleVerifier [0x0068702F+2463135]
GetHandleVerifier [0x004C522A+620442]
GetHandleVerifier [0x004C4016+615814]
Ordinal0 [0x003B707B+1994875]
Ordinal0 [0x003BB938+2013496]
Ordinal0 [0x003BBA25+2013733]
Ordinal0 [0x003C4DE1+2051553]
BaseThreadInitThunk [0x754EFA29+25]
RtlGetAppContainerNamedObjectPath [0x77207A7E+286]
RtlGetAppContainerNamedObjectPath [0x77207A4E+238]
File "C:\Users\admin\Desktop\metamask_bf-main\metamask_bf_v2.py", line 57, in
driver.find_element(by = By.CSS_SELECTOR, value = '#app-content > div > div.main-container-wrapper > div > div > div > form > div.import-srp__container > div.actionable-message.actionable-message--danger.import-srp__srp-error.actionable-message--with-icon') #check to see if invalid message pops up

During handling of the above exception, another exception occurred:

File "C:\Users\admin\Desktop\metamask_bf-main\metamask_bf_v2.py", line 85, in
elem = driver.find_element(by = By.XPATH, value = '/html/body/div[1]/div/div[3]/div/div/div/div[2]/div/div[1]/div/div/div/div[2]/span[1]') #find balance element

@PandoricGalaxy
Copy link

Same!

@0xDefy
Copy link

0xDefy commented Nov 7, 2022

change the selector to "/html/body/div[1]/div/div[3]/div/div/div/div[2]/div/div[1]/div/div/div/div[2]/span[2]" (replace last span index from 1 to 2)

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