Element.get_value#
- Element.get_value(default=None)[source]#
Gets the
valueattribute of the HTML element.- Parameters:
default (Any, default=None) – The value to return if the attribute does not exist.
- Returns:
str – If the attribute exists.
None, Any – Retuns
Noneif the attribute does not exist. However, if a default value is specified, it will be returned instead.