How can I get the page title in a WebBrowser control when I navigate to different websites?
xmlns
xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
Properties starting with D
DataContext
DesiredSize
Dispatcher
DoubleTap
xaml tag
<phone:WebBrowser Name="browser" Height="760" VerticalAlignment="Top"></phone:WebBrowser>
I had the same problem. @Akash Kava's answer is almost correct but this is the correct javascript to read the html title:
String title = (string)browser.InvokeScript("eval", "document.title.toString()");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With