[webkit-gtk] Get Dom Document in webkit2 for dom tree traversing

Martin Robinson martin.james.robinson at gmail.com
Thu Sep 20 09:05:09 PDT 2012


On Thu, Sep 20, 2012 at 5:59 AM, golen geeks <golengeeks at gmail.com> wrote:
> How to get Dom Tree for traversing in webkit2. similar to api in webkit like
>
> WebKitDOMDocument * webkit_web_view_get_dom_document    (WebKitWebView
> *web_view); in webkit
>
>
> is there any alternative for getting WebKitDOMDocument or we need  to port
> the above api in webkit2.

One alternative is to rewrite your logic in JavaScript and to use
webkit_web_view_run_javascript.

--Martin


More information about the webkit-gtk mailing list