Skip to content
Advertisement

Selenium ““element not interactable exception” while using sendkeys on google Form?

I am trying to fill out the google form using selenium in python3.9

https://docs.google.com/forms/d/e/1FAIpQLSead7qqhVWP4m4q9Y71Wu9kr2lbCQXvY4ge0OdFg9fI0SQYYA/viewform

But I am getting an error at “element not interactable exception” at form[0].send_keys(‘222’)

JavaScript

I read the thread b to solve the issue but seems like I am doing something wrong

Thread I read at the stackoverflow How do you fix the “element not interactable” exception?

What I am doing wrong?

Advertisement

Answer

You are probably calling fill_form right after initializing your FillForm object. Try adding an explicit wait to your fill_form function.

JavaScript
Advertisement