---
title: "How to get page name with webBrowser"  
description: "How to get page name with webBrowser"  
author: "Anonymous User"  
published: 2013-10-07  
updated: 2013-10-08  
canonical: https://www.mindstick.com/forum/1647/how-to-get-page-name-with-webbrowser  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# How to get page name with webBrowser

Currently I want to implement a [simple](https://yourviews.mindstick.com/story/1469/5-simple-ways-to-stay-fit-amp-healthy) [web browser](https://www.mindstick.com/blog/301688/best-web-browsers-for-2023), and [now](https://yourviews.mindstick.com/view/81402/it-s-liberals-vs-progressives-in-us-politics-now) I'm stuck. I want to get [name](https://yourviews.mindstick.com/view/87450/how-to-generate-a-brand-name-using-linkedin-comprehensive-guide) of opened [page](https://www.mindstick.com/articles/13031/why-to-make-a-wikipedia-page) (Every tab has name according to opened page), but I can't find the solution. In C# I can use this [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii):

```
TabControl.SelectedTab.Text = webBrowser.Url.Host.ToString();
```

But with [WPF](https://www.mindstick.com/forum/304/wpf) it doesn't work. What is solution to find page name with WPF?

## Replies

### Reply by Anonymous User

Please try like this,

\

TabControl.SelectedTab.Text = webBrowser1.Url.AbsoluteUri;


---

Original Source: https://www.mindstick.com/forum/1647/how-to-get-page-name-with-webbrowser

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
