How To Retrieve Title, URL and Domain Name ​​​​​​​​​- Selenium WebDriver with C# - Session 16

Опубликовано: 06 Октябрь 2024
на канале: Haradhan Automation Library
188
6

Retrieve WebPage Title, URL and Domain Name using IJavascriptExecutor ​​​​​​​​​​- Selenium WebDriver with C# - Session 16:
IJavaScriptExecutor jse = (IJavaScriptExecutor)driver;
//Retrieve Title of any Web Page
string titlename = jse.ExecuteScript("return document.title;").ToString(); Console.WriteLine(titlename);

YouTube Channel Link:
https://www.youtube.com/c/HaradhanAut...

Telegram Group:
https://t.me/joinchat/Bv_U1ZHC-5thNmFl

Facebook Page:
  / haradhanautomationlibrary  

LinkedIn Profile:
  / haradhan-pal-181a8326  

Facebook Group:
  / 995593230934871