Uses of Interface
com.microsoft.playwright.Frame
-
Packages that use Frame Package Description com.microsoft.playwright com.microsoft.playwright.options -
-
Uses of Frame in com.microsoft.playwright
Methods in com.microsoft.playwright that return Frame Modifier and Type Method Description FrameElementHandle. contentFrame()Returns the content frame for element handles referencing iframe nodes, ornullotherwiseFramePage. frame(String name)Returns frame matching the specified criteria.FrameRequest. frame()Returns theFramethat initiated this request.FrameResponse. frame()Returns theFramethat initiated this response.FramePage. frameByUrl(String url)Returns frame with matching URL.FramePage. frameByUrl(Predicate<String> url)Returns frame with matching URL.FramePage. frameByUrl(Pattern url)Returns frame with matching URL.FramePage. mainFrame()The page's main frame.FrameElementHandle. ownerFrame()Returns the frame containing the given element.FrameFrame. parentFrame()Parent frame, if any.Methods in com.microsoft.playwright that return types with arguments of type Frame Modifier and Type Method Description List<Frame>Frame. childFrames()List<Frame>Page. frames()An array of all frames attached to the page.Methods in com.microsoft.playwright with parameters of type Frame Modifier and Type Method Description CDPSessionBrowserContext. newCDPSession(Frame page)NOTE: CDP sessions are only supported on Chromium-based browsers.Method parameters in com.microsoft.playwright with type arguments of type Frame Modifier and Type Method Description voidPage. offFrameAttached(Consumer<Frame> handler)Removes handler that was previously added withonFrameAttached(handler).voidPage. offFrameDetached(Consumer<Frame> handler)Removes handler that was previously added withonFrameDetached(handler).voidPage. offFrameNavigated(Consumer<Frame> handler)Removes handler that was previously added withonFrameNavigated(handler).voidPage. onFrameAttached(Consumer<Frame> handler)Emitted when a frame is attached.voidPage. onFrameDetached(Consumer<Frame> handler)Emitted when a frame is detached.voidPage. onFrameNavigated(Consumer<Frame> handler)Emitted when a frame is navigated to a new url. -
Uses of Frame in com.microsoft.playwright.options
Methods in com.microsoft.playwright.options that return Frame Modifier and Type Method Description FrameBindingCallback.Source. frame()
-