Checking if a password field is present in Selenium.

Many people fall into the (understandable) trap of treating Password fields like Text fields when testing them in Selenium.

If you have made this mistake then you may be stuck wondering about how to test for masking in the field (like this chap was) the answer, of course, is to assert that input of type password and id of whatever exists on the page.

Recent posts View all

Hosting

Website Checklist before Launching

Top 20 things to consider before launching your website

Tech

Getting wireless printing working on Virgin Media Hub 3

A guide on how to get wireless printing working on Virgin Media if yours has suddenly stopped working.