Quantcast
Channel: Microsoft Community - Super Fresh
Viewing all articles
Browse latest Browse all 1237599

Getting the current tab's URL from Google Chrome using C# having performance issue.

$
0
0

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"));


Viewing all articles
Browse latest Browse all 1237599

Trending Articles