Element.get_height_property#

Element.get_height_property(default=None)[source]#

Gets the value of the CSS property height inside the style attribute.

Parameters:

default (Any, default=None) – The value to return if the property does not exist or the style attribute does not exist.

Returns:

  • str – If the property exists.

  • None, Any – Retuns None if the property does not exist or the style attribute does not exist. However, if a default value is specified, it will be returned instead.