Matches all hidden input elements:: >>> from pyquery import PyQuery >>> d = PyQuery(' ') >>> d('input:hidden') [ ] ..
(self, xpath)
| 285 | return xpath |
| 286 | |
| 287 | def xpath_hidden_pseudo(self, xpath): |
| 288 | """Matches all hidden input elements:: |
| 289 | |
| 290 | >>> from pyquery import PyQuery |
| 291 | >>> d = PyQuery('<div><input type="hidden"/></div>') |
| 292 | >>> d('input:hidden') |
| 293 | [<input>] |
| 294 | |
| 295 | .. |
| 296 | """ |
| 297 | xpath.add_condition("@type = 'hidden' and name(.) = 'input'") |
| 298 | return xpath |
| 299 | |
| 300 | def xpath_image_pseudo(self, xpath): |
| 301 | """Matches all image input elements:: |
nothing calls this directly
no outgoing calls
no test coverage detected