Skip to content Skip to sidebar Skip to footer

Using Selenium To Find Elements Related To Drop Down List From Another Frame -- Python

I have been trying to write a program to automate my work. My task has series of steps but I am stuck at one point. I am constantly getting NoSuchElementException. I have tried to

Solution 1:

If you look at the <input id="report_Entity_ClientState" ... > node the type is hidden. So we have to unhide the WebElement first and send the chars as follows:

entityElem = browser.find_element_by_xpath("//input[@id='report_Entity_ClientState']")
browser.execute_script("arguments[0].removeAttribute('type')", entityElem);
entityElem.send_keys('Entity1')

Post a Comment for "Using Selenium To Find Elements Related To Drop Down List From Another Frame -- Python"