Frame#
Added in version 2.26.
Superclasses: Object
A web page frame.
Each WebKitWebPage
has at least one main frame, and can have any number
of subframes.
Methods#
- class Frame
- get_id() int #
Gets the process-unique identifier of this
Frame
. No other frame in the same web process will have the same ID; however, frames in other web processes may.Added in version 2.26.
- get_js_context() Context #
Get the JavaScript execution context of
frame
. Use this function to bridge between the WebKit and JavaScriptCore APIs.Added in version 2.22.
- get_js_context_for_script_world(world: ScriptWorld) Context #
Get the JavaScript execution context of
frame
for the givenScriptWorld
.Added in version 2.22.
- Parameters:
world – a
ScriptWorld