Automate login using webdriver facing issue for four digit pin

Hi
I am trying to automate login with the help of chromedriver but I am facing issue to put values into four digit pins
I am getting error as
ElementNotInteractableException: Message: element not interactable

this is how I am trying to get it
driver.find_element_by_xpath(“//*[@id=‘first’]”).send_keys(1)

Hi Is this solved? I am facing the same issue

I’m having the same issue as well. Did you ever find a solution?

https://community.fyers.in/post/automate-login-using-webdriver-facing-issue-for-four-digit-pin-61fe2f0ab431b7d5f42acaae wordle unlimited

Below works for me

self.browser.find_element_by_xpath(

"//form[@id='verifyPinForm']/div/input[@id='first']").send_keys([self.pin](http://self.pin)[0])

sleep(1)

self.browser.find_element_by_xpath(

"//form[@id='verifyPinForm']/div/input[@id='second']").send_keys([self.pin](http://self.pin)[1])

sleep(1)

self.browser.find_element_by_xpath(

"//form[@id='verifyPinForm']/div/input[@id='third']").send_keys([self.pin](http://self.pin)[2])

sleep(1)

self.browser.find_element_by_xpath(

"//form[@id='verifyPinForm']/div/input[@id='fourth']").send_keys([self.pin](http://self.pin)[3])

sleep(3)

self.browser.find_element_by_xpath(

"//button[@id='verifyPinSubmit']").click()

i am also facing the same issue. For now i have kept for loop waiting for 30 sec (1 sec each) for user input for now till the time find some alternatives.

But yes this is a big issue and a decision factor to continue on with fyers for the product development.

yes, great it worked for me as well. thanks.

Following worked perfectly for me :

Find and fill the PIN input fields

#Replace with your key

my_pin = 2000

my_pin = str(my_pin)

pin_digits = [“first”, “second”, “third”, “fourth”]

for i, digit in enumerate(pin_digits):

time.sleep(1)  # Add a delay of 1 second

pin_input = driver.find_element(By.XPATH, f'//form[@id=\'verifyPinForm\']/div/input[@id="{digit}"]')

pin_input.send_keys(str(my_pin[i]))

sign_in_button = driver.find_element(By.XPATH, ‘//*[@id=“verifyPinSubmit”]’)

sign_in_button.click()

time.sleep(5)