Getting the current tab's URL from Google Chrome using C# having performance issue.we are using below code which is consume more cpu time to run the code when we open multiple tabs and windows
AutomationElement elm =AutomationElement.FromHandle(chrome.MainWindowHandle);AutomationElement elmUrlBar = elm.FindFirst(TreeScope.Descendants,newPropertyCondition(AutomationElement.NameProperty,"Address and search bar"));
↧
Getting the current tab's URL from Google Chrome using C# having performance issue.
↧