Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/microsoft/playwright-python
/ opener
Method
opener
playwright/_impl/_page.py:382–385 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
380
return
self._browser_context.clock
381
382
async
def
opener(self) -> Optional[
"Page"
]:
383
if
self._opener and self._opener.is_closed():
384
return
None
385
return
self._opener
386
387
@property
388
def
main_frame(self) -> Frame:
Callers
5
test_page_event_should_have_an_opener
Function · 0.45
test_page_event_should_work_with_shift_clicking
Function · 0.45
test_page_event_should_work_with_ctrl_clicking
Function · 0.45
test_opener_should_provide_access_to_the_opener_page
Function · 0.45
test_opener_should_return_null_if_parent_page_has_been_closed
Function · 0.45
Calls
1
is_closed
Method · 0.45
Tested by
5
test_page_event_should_have_an_opener
Function · 0.36
test_page_event_should_work_with_shift_clicking
Function · 0.36
test_page_event_should_work_with_ctrl_clicking
Function · 0.36
test_opener_should_provide_access_to_the_opener_page
Function · 0.36
test_opener_should_return_null_if_parent_page_has_been_closed
Function · 0.36