Discord-Account-Generator icon indicating copy to clipboard operation
Discord-Account-Generator copied to clipboard

New error

Open koko8463 opened this issue 1 year ago • 4 comments

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[1]/div[2]/div/div[1]/div/div/div/form/div/div/div[5]/button/div"} (Session info: chrome=104.0.5112.102) Stacktrace: Backtrace: Ordinal0 [0x003D78B3+2193587] Ordinal0 [0x00370681+1771137] Ordinal0 [0x002841A8+803240] Ordinal0 [0x002B24A0+992416] Ordinal0 [0x002B273B+993083] Ordinal0 [0x002DF7C2+1177538] Ordinal0 [0x002CD7F4+1103860] Ordinal0 [0x002DDAE2+1170146] Ordinal0 [0x002CD5C6+1103302] Ordinal0 [0x002A77E0+948192] Ordinal0 [0x002A86E6+952038] GetHandleVerifier [0x00680CB2+2738370] GetHandleVerifier [0x006721B8+2678216] GetHandleVerifier [0x004617AA+512954] GetHandleVerifier [0x00460856+509030] Ordinal0 [0x0037743B+1799227] Ordinal0 [0x0037BB68+1817448] Ordinal0 [0x0037BC55+1817685] Ordinal0 [0x00385230+1856048] BaseThreadInitThunk [0x7758FA29+25] RtlGetAppContainerNamedObjectPath [0x778B7A9E+286] RtlGetAppContainerNamedObjectPath [0x778B7A6E+238]

koko8463 avatar Aug 30 '22 16:08 koko8463

What page does it fail at?

Itamar1337 avatar Aug 31 '22 14:08 Itamar1337

at register the birth year it just types in the month section and then it crashes

koko8463 avatar Aug 31 '22 17:08 koko8463

video?

Itamar1337 avatar Sep 01 '22 12:09 Itamar1337

video?

image heres a picture

iGetUploaded avatar Sep 02 '22 19:09 iGetUploaded

The issue seems to be here:

@PiggyAwesome you're using typeSlow() to type the dates; Which doesn't properly enter the birth information!

year = str(random.randint(1970, 2000))
monthwords = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'Augustus', 'September', 'October', 'November', 'December']
day = str(random.randint(1,28))

...

typeSlow(random.choice(monthwords)) # Month
actions.send_keys(Keys.ENTER)
actions.perform()



sleep(0.4/speedMultiplier)

typeSlow(year) # Year
actions.send_keys(Keys.ENTER)
actions.perform()

sleep(0.5/speedMultiplier)

You should find the popup elements and use click() on the corresponding element!

nvm it was a issue with the day input (idk why that is)

fixed in #12

Gteditor99 avatar Sep 16 '22 15:09 Gteditor99

Fixed

PiggyAwesome avatar Sep 17 '22 08:09 PiggyAwesome

Still doing the whole birth thing in the 1st slot

iGetUploaded avatar Sep 18 '22 21:09 iGetUploaded