ElementHandle.owner_frame Returns the frame containing the given element. Returns ------- Union[Frame, None]
(self)
| 1983 | return mapping.from_impl_nullable(self._impl_obj.as_element()) |
| 1984 | |
| 1985 | def owner_frame(self) -> typing.Optional["Frame"]: |
| 1986 | """ElementHandle.owner_frame |
| 1987 | |
| 1988 | Returns the frame containing the given element. |
| 1989 | |
| 1990 | Returns |
| 1991 | ------- |
| 1992 | Union[Frame, None] |
| 1993 | """ |
| 1994 | |
| 1995 | return mapping.from_impl_nullable(self._sync(self._impl_obj.owner_frame())) |
| 1996 | |
| 1997 | def content_frame(self) -> typing.Optional["Frame"]: |
| 1998 | """ElementHandle.content_frame |