I am trying to find password field element from a link http://www.cartasi.it/gtwpages/index.jsp using CSS selectors. Following is the code I used for other websites, it is working fine for all websites except the provided link.
pwd=driver.findElement(By.cssSelector("input[type='password']"))
and checked the source code of the website but i did not find any type="password" keyword in the code. i feel like posting source code of entire website would create chaos hence gave the link to refer. What could be causing this password hidden? How can I locate the element using CSS selector? Any help would be greatly appreciated
document.querySelector("input[type='password']"). Not sure about Selenium though.