It’s a java desktop, need to capture url of current active browser window. Can I do this with java?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is possible to get URL’s of all Internet Explorer instances . But through C# approach , i could’nt find a solution using JAVA.
The alternative is to write C# executable which prints the URL , invoke it through java process and get the output.
You can use the stream readers to determine the output of the command executed .
Explained the C# approach to get the URL of IE objects using SHDOCVW.dll ,
How to get the URL of the Internet explorer tabs with PID of each tab?
just use C# Express edition 2008 and try the code , it will result in Interop.SHDocVw.dll and an Exe .
Since firefox is a third party application , i dont know if there is any way .
Internet Explorer comes handy with the OS so it was possible .