FormSubmissionRequest#
Superclasses: Object
Represents a form submission request.
When a form is about to be submitted in a WebView
, the
WebView
::submit-form signal is emitted. Its request argument
contains information about the text fields of the form, that are
typically used to store login information, returned as lists by
list_text_fields()
. You can submit the
form with submit()
.
Methods#
- class FormSubmissionRequest
- list_text_fields() Tuple[bool, list[str], list[str]] #
Get lists of the text fields contained in the form associated to
request
.Get lists with the names and values of the text fields contained in the form associated to
request
. Note that names and values may beNone
.If this function returns
False
, then bothfield_names
andfield_values
will be empty.Added in version 2.20.