WebKit2WebExtension.WebPage.get_main_frame

### Method

# WebKit2WebExtension WebPageget_main_frame

#### 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

#### Return value

Returns: | `WebKitFrame`
| The `WebKitFrame` that is the main frame of `web_page`.
| The data is owned by the instance.