Uses of Interface
com.microsoft.playwright.Frame
Packages that use Frame
Package
Description
-
Uses of Frame in com.microsoft.playwright
Methods in com.microsoft.playwright that return FrameModifier and TypeMethodDescriptionElementHandle.contentFrame()Returns the content frame for element handles referencing iframe nodes, ornullotherwiseReturns frame matching the specified criteria.Request.frame()Returns theFramethat initiated this request.Response.frame()Returns theFramethat initiated this response.Page.frameByUrl(String url) Returns frame with matching URL.Page.frameByUrl(Predicate<String> url) Returns frame with matching URL.Page.frameByUrl(Pattern url) Returns frame with matching URL.Page.mainFrame()The page's main frame.ElementHandle.ownerFrame()Returns the frame containing the given element.Frame.parentFrame()Parent frame, if any.Methods in com.microsoft.playwright that return types with arguments of type FrameModifier and TypeMethodDescriptionFrame.childFrames()Page.frames()An array of all frames attached to the page.Methods in com.microsoft.playwright with parameters of type FrameModifier and TypeMethodDescriptionBrowserContext.newCDPSession(Frame page) NOTE: CDP sessions are only supported on Chromium-based browsers.Method parameters in com.microsoft.playwright with type arguments of type FrameModifier and TypeMethodDescriptionvoidPage.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.impl
Classes in com.microsoft.playwright.impl that implement FrameFields in com.microsoft.playwright.impl declared as FrameMethods in com.microsoft.playwright.impl that return FrameModifier and TypeMethodDescriptionElementHandleImpl.contentFrame()private FrameElementHandleImpl.contentFrameImpl()BindingCall.SourceImpl.frame()ResponseImpl.frame()PageImpl.frameByUrl(String glob) PageImpl.frameByUrl(Predicate<String> predicate) PageImpl.frameByUrl(Pattern pattern) private FramePageImpl.frameFor(UrlMatcher matcher) PageImpl.WaitableFrameDetach.get()PageImpl.mainFrame()FrameImpl.parentFrame()Methods in com.microsoft.playwright.impl that return types with arguments of type FrameMethods in com.microsoft.playwright.impl with parameters of type FrameModifier and TypeMethodDescription(package private) <T> Waitable<T> PageImpl.createWaitableFrameDetach(Frame frame) BrowserContextImpl.newCDPSession(Frame frame) Method parameters in com.microsoft.playwright.impl with type arguments of type FrameModifier and TypeMethodDescriptionvoidPageImpl.offFrameAttached(Consumer<Frame> handler) voidPageImpl.offFrameDetached(Consumer<Frame> handler) voidPageImpl.offFrameNavigated(Consumer<Frame> handler) voidPageImpl.onFrameAttached(Consumer<Frame> handler) voidPageImpl.onFrameDetached(Consumer<Frame> handler) voidPageImpl.onFrameNavigated(Consumer<Frame> handler) Constructors in com.microsoft.playwright.impl with parameters of type FrameModifierConstructorDescriptionSourceImpl(Frame frame) (package private)WaitableFrameDetach(Frame frameArg) -
Uses of Frame in com.microsoft.playwright.options
Methods in com.microsoft.playwright.options that return Frame