module documentation
This module implements the FormRequest class which is a more convenient class (than Request) to generate Requests based on form data. See documentation in docs/topics/request-response.rst
Type Variable |
|
Undocumented |
Type Alias |
|
Undocumented |
Function | _get |
Returns the clickable element specified in clickdata, if the latter is given. If not, it returns the first clickable element found |
Function | _get |
Find the wanted form element within the given response. |
Function | _get |
Undocumented |
Function | _get |
Return a list of key-value pairs for the inputs found in the given form. |
Function | _select |
Undocumented |
Function | _urlencode |
Undocumented |
Function | _value |
Undocumented |
def _get_clickable(clickdata:
Optional[ dict]
, form: FormElement
) -> Optional[ Tuple[ str, str]]
:
(source)
¶
Returns the clickable element specified in clickdata, if the latter is given. If not, it returns the first clickable element found
def _get_form(response:
TextResponse
, formname: Optional[ str]
, formid: Optional[ str]
, formnumber: Optional[ int]
, formxpath: Optional[ str]
) -> FormElement
:
(source)
¶
Find the wanted form element within the given response.