Matches all password input elements:: >>> from pyquery import PyQuery >>> d = PyQuery(' ') >>> d('input:password') [ ] ..
(self, xpath)
| 259 | return xpath |
| 260 | |
| 261 | def xpath_password_pseudo(self, xpath): |
| 262 | """Matches all password input elements:: |
| 263 | |
| 264 | >>> from pyquery import PyQuery |
| 265 | >>> d = PyQuery('<div><input type="password"/></div>') |
| 266 | >>> d('input:password') |
| 267 | [<input>] |
| 268 | |
| 269 | .. |
| 270 | """ |
| 271 | xpath.add_condition("@type = 'password' and name(.) = 'input'") |
| 272 | return xpath |
| 273 | |
| 274 | def xpath_submit_pseudo(self, xpath): |
| 275 | """Matches all submit input elements:: |
nothing calls this directly
no outgoing calls
no test coverage detected