IFrameElement.get_style_property#
- IFrameElement.get_style_property(property, default=None)#
Gets the value of a CSS property inside the
styleattribute.- Parameters:
property (str) – The name of the property
default (Any, default=None) – The value to return if the property does not exist or the
styleattribute does not exist.
- Returns:
str – If the property exists.
None, Any – Retuns
Noneif the property does not exist or thestyleattribute does not exist. However, if a default value is specified, it will be returned instead.