Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97799

how to fill the text in the new form using Selenium+python

$
0
0

i am trying to automate here and now i want to fill some text in a form which appears after clicking on a button(yellow highlighted one). How to do that??

Just to be clear, i want to fill the text-field and click the filter . But i am not able to access it . How to do that after i click the funnel button??

image

I tried :

  1. i tried to alter the window handle , but it did not work.

  2. Directly i accessed the element by css selector, but an error is coming as 'selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable'

Here is the code :

#clicked the button and the form appeared
ddf=driver.find_element_by_css_selector('span.k-icon.k-filter').click()
print('Clicked..') #Its working...

#Trying to fill the  text in the form and filter it
#Both the below lines are not working
driver.find_element_by_css_selector('input.k-textbox').send_keys('ddf')
driver.find_element_by_css_selector('button.k-button') .click()
print('filtered..')

Button html content : enter image description here

form html content : enter image description here


Viewing all articles
Browse latest Browse all 97799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>