user3106891
user3106891

Reputation: 457

get element from inside webview javascript chrome app

I've been searching on google for a while now and I couldn't really find much regarding this topic so I wanted to know if it's even possible:

Can I get an html element from a loaded page inside a <webview> and store it's attributes for later use outside of my <webview>?

Upvotes: 0

Views: 515

Answers (1)

kzahel
kzahel

Reputation: 2785

You can use webview.executeScript along with postMessage to communicate the data back out of the webview

Upvotes: 1

Related Questions