Package | Description |
---|---|
com.microsoft.playwright | |
com.microsoft.playwright.options |
Modifier and Type | Method and Description |
---|---|
Frame |
ElementHandle.contentFrame()
Returns the content frame for element handles referencing iframe nodes, or
null otherwise |
Frame |
Response.frame()
Returns the
Frame that initiated this response. |
Frame |
Request.frame()
Returns the
Frame that initiated this request. |
Frame |
Page.frame(String name)
Returns frame matching the specified criteria.
|
Frame |
Page.frameByUrl(Pattern url)
Returns frame with matching URL.
|
Frame |
Page.frameByUrl(Predicate<String> url)
Returns frame with matching URL.
|
Frame |
Page.frameByUrl(String url)
Returns frame with matching URL.
|
Frame |
Page.mainFrame()
The page's main frame.
|
Frame |
ElementHandle.ownerFrame()
Returns the frame containing the given element.
|
Frame |
Frame.parentFrame()
Parent frame, if any.
|
Modifier and Type | Method and Description |
---|---|
List<Frame> |
Frame.childFrames() |
List<Frame> |
Page.frames()
An array of all frames attached to the page.
|
Modifier and Type | Method and Description |
---|---|
void |
Page.offFrameAttached(Consumer<Frame> handler)
Removes handler that was previously added with
onFrameAttached(handler) . |
void |
Page.offFrameDetached(Consumer<Frame> handler)
Removes handler that was previously added with
onFrameDetached(handler) . |
void |
Page.offFrameNavigated(Consumer<Frame> handler)
Removes handler that was previously added with
onFrameNavigated(handler) . |
void |
Page.onFrameAttached(Consumer<Frame> handler)
Emitted when a frame is attached.
|
void |
Page.onFrameDetached(Consumer<Frame> handler)
Emitted when a frame is detached.
|
void |
Page.onFrameNavigated(Consumer<Frame> handler)
Emitted when a frame is navigated to a new url.
|
Modifier and Type | Method and Description |
---|---|
Frame |
BindingCallback.Source.frame() |
Copyright © 2022. All rights reserved.