WebKit2WebExtension.WebPage.get_main_frame

### Method

# WebKit2WebExtension WebPageget_main_frame

deprecated: 2.48 since: 2.2

#### Declaration [src]

    WebKitFrame*
    webkit_web_page_get_main_frame (
      WebKitWebPage* web_page
    )

#### Description [src]

Returns the main frame of a `WebKitWebPage`.

Available since: 2.2

Deprecated since: 2.48

Please do not use it in newly written code.

#### Return value

Type: `WebKitFrame`

The `WebKitFrame` that is the main frame of `web_page`.

The returned data is owned by the instance.