How to get Google All url's from Google Chrome using C# -


how can url's google chrome. example if there 2 different instance running on computer , each instance contain multiple url's. how can list of all.right can 1 active url tab.

automationelement elm = automationelement.fromhandle(p.mainwindowhandle); automationelement elmurlbar = null; elmurlbar = elm.findfirst(treescope.descendants, new propertycondition(automationelement.nameproperty, "adresse und suchleiste"));                           if (elmurlbar != null)   {     automationpattern[] patterns = elmurlbar.getsupportedpatterns();     if (patterns.length > 0)         {             valuepattern val = (valuepattern)elmurlbar.getcurrentpattern(patterns[0]);         } } 

is possible url's.source code should c# compatible. i'm not native english speaker. did best ask question. please don't mark negative.


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -