how to check whether password field is encrypted with selenium. i meant that password field is masked and not displayed.
If you mean masked, you should be able to assert that an input of type password exists on the page.