Getting error when trying to locate the input element. Tried locating by xpath and className.
HTML of the Input Element:
<input data-v-9182d0dc="" type="text" id="filterElement" data-cy="v-search-input" autocomplete="off" placeholder="Type a name or a number" class="padding-right-30 round">
Xpath for this element:
//*[@id="filterElement"]
Full Xpath for this element: /html/body/div[2]/div[5]/div/div[2]/div/div[1]/div/div/div[2]/input
Statement to find the element
temp=driver.find_element_by_xpath('/html/body/div[2]/div[5]/div/div[2]/div/div[1]/div/div/div[2]/input')
Getting below error message:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"/html/body/div[2]/div[5]/div/div[2]/div/div[1]/div/div/div[2]/input"}
Update: The element seems to be inside an iframe. Not sure how this comes into play when selecting an element