Coding Global Background
Coding Global

Need Selenium help (new to selenium so im fucking lost)

Archived 3 years ago
5 messages
2 members
Created 3 years ago
Updated 3 years ago
Open in Discord
K
ketamine
Error:
Element not found: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//input[@id='input-76']"}
  (Session info: chrome=113.0.5672.63)
Stacktrace:
Backtrace:
        GetHandleVerifier [0x011E8893+48451]
        (No symbol) [0x0117B8A1]
        (No symbol) [0x01085058]
        (No symbol) [0x010B0467]
        (No symbol) [0x010B069B]
        (No symbol) [0x010DDD92]
        (No symbol) [0x010CA304]
        (No symbol) [0x010DC482]
        (No symbol) [0x010CA0B6]
        (No symbol) [0x010A7E08]
        (No symbol) [0x010A8F2D]
        GetHandleVerifier [0x01448E3A+2540266]
        GetHandleVerifier [0x01488959+2801161]
        GetHandleVerifier [0x0148295C+2776588]
        GetHandleVerifier [0x01272280+612144]
        (No symbol) [0x01184F6C]
        (No symbol) [0x011811D8]
        (No symbol) [0x011812BB]
        (No symbol) [0x01174857]
        BaseThreadInitThunk [0x765B0099+25]
        RtlGetAppContainerNamedObjectPath [0x771C7B6E+286]
        RtlGetAppContainerNamedObjectPath [0x771C7B3E+238]

Section:
    phone = "8015620293"
    address = "address"
    city = "New York"
    zip_code = "10001"

    time.sleep(1)
    driver.find_element(By.XPATH, "//input[@id='input-76']")\
        .send_keys(phone)
    driver.find_element(By.XPATH, "//input[@id='input-93']")\
        .send_keys(address)
    driver.find_element(By.XPATH, "//input[@id='input-102']")\
        .send_keys(city)
    driver.find_element(By.XPATH, "//input[@id='input-110']")\
        .send_keys(zip_code)

I'm confused on what is wrong 😭

Replies (5)