Hidden class name not able to recognizing
I dont have right now exact html but i can provide in morning if needed ..
<input class="hidden"for id ,id="v_username">
<div id="v_username" name="v_username", type='text'>
Am not able to find this element either by.id or name or xpath .. Anyone faced this kind of issue ? please share your thought ... i think because of class hidden , it not able to find the element .
Selenium will find hidden element, but will throw a WebElement exception when you try to click or read its values.
So if you're not finding the element at all, there are 2 things I'd check first.
1. Check to see if the element is not in some iframe.
2. Check your script timing. Is the element on the screen when the line of code is executed. Generally you end up having to use WebDriverWait all over the place.