I have developed a Chrome extension and it captures some data in a webpage. My ultimate goal is to pass this final result to my Java Application. I have following few options in my mind, but I was not able to find any resources for them yet.
Access the
localStorage
externally.Run Chrome browser through the Java app, So I guess we have the control of its data.
If no API found, write the result to a file and access it from the Java App.
Is there any API to achieve any of the first 2 options? Or any other interface other than the file system?
I checked with berkelium and The Chromium Embedded Framework. But they are just chrome wrappers, and we cannot run a chrome instance from it.
Edit
For the 2nd option I tried with Selenium Webdriver, but I think it hasn't any method to access the localStorage.