webkitwebprocessextension.frame
Module for [Frame] class
Types 3
classFrame : gobject.object.ObjectWrap
A web page frame.
Each [webkitwebprocessextension.web_page.WebPage] has at least one main frame, and can have any number of subframes.
Methods
FrameGidBuilder builder()Get builder for [webkitwebprocessextension.frame.Frame] Returns: New builder objectulong getId()Gets the process-unique identifier of this #WebKitFrame. No other frame in the same web process will have the same ID; however, frames in other web processes may. Returns: the identifier of framejavascriptcore.context.Context getJsContext()Get the JavaScript execution context of frame. Use this function to bridge between the WebKit and JavaScriptCore APIs. Returns: the #JSCContext for the JavaScript execution context of frame.javascriptcore.context.Context getJsContextForScriptWorld(webkitwebprocessextension.script_world.ScriptWorld world)Get the JavaScript execution context of frame for the given #WebKitScriptWorld.string getUri()Gets the current active URI of frame. Returns: the current active URI of frame or null if nothing has been loaded yet.bool isMainFrame()Gets whether frame is the main frame of a #WebKitWebPage Returns: true if frame is a main frame or false otherwise