Matches all submit input elements:: >>> from pyquery import PyQuery >>> d = PyQuery(' ') >>> d('input:submit') [ ] ..
(self, xpath)
| 272 | return xpath |
| 273 | |
| 274 | def xpath_submit_pseudo(self, xpath): |
| 275 | """Matches all submit input elements:: |
| 276 | |
| 277 | >>> from pyquery import PyQuery |
| 278 | >>> d = PyQuery('<div><input type="submit"/></div>') |
| 279 | >>> d('input:submit') |
| 280 | [<input>] |
| 281 | |
| 282 | .. |
| 283 | """ |
| 284 | xpath.add_condition("@type = 'submit' and name(.) = 'input'") |
| 285 | return xpath |
| 286 | |
| 287 | def xpath_hidden_pseudo(self, xpath): |
| 288 | """Matches all hidden input elements:: |
nothing calls this directly
no outgoing calls
no test coverage detected