submit
The command to submit a form or input element.
Syntax
Element.submit() -> PyleniumUsage
py.get("form").submit()
---or---
py.get("input[type='submit']").submit()# Errors, 'submit' may have no effect on certain elements
py.get("a").submit()Arguments
None
Yields
Pylenium - The current instance of Pylenium so you can chain commands.
Examples
Given this HTML:
We could type credentials into the fields and submit the form to login:
Last updated