how to get html content from webview

acorrias

Member
Licensed User
Longtime User
HI
is it possibile to get a word, a paragraph or an html element using webview? For example, in order to do a talking browser (a user select a phrase and tts speaks it).

it seems that the only possibility is to use jsinterface, but this way needs to have js script inside the page to read-speak.

maybe it would be possible using an iframe and adding some js script the page in order to have the passthrough script that gets html elements. I'll try.

Any suggestion?
thanks
alex
 

KingEdem

Member
Licensed User
Longtime User
Hi Alex,

I am also looking for similar solution to access html content from webview control. Did u find any??
 
Upvote 0

udg

Expert
Licensed User
Longtime User
Hi all,

depending on the functionality expected for the project at hand, a different approach could be that of downloading the HTML page by means of HttpJob and then parse it with RegEx.

udg
 
Upvote 0

KingEdem

Member
Licensed User
Longtime User
Hi udg, I know this method but, does not satisfy my needs. I want to get the content directly from webview control as the javascript running in webview changes the data in the field which need to be checked and monitored.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Take a look at webextras, you can inject and i believe, retrieve data with it using JScript object
 
Upvote 0
Top