I am looking for a way to interact with a web page and enter data to certain fields in it using an external program that interact with Firefox (or Chromium) web browser. The best I could find is the console commands for the browser, but they only let you go to a certain URL and not interact with the pages' content. I have also tried looking for some extension to do the job but I could not find any. Any suggestions?

有帮助吗?

解决方案

You could create Chrome extension that communicates with your application via Chrome Native Messaging API: https://developer.chrome.com/extensions/messaging.html#native-messaging

其他提示

Take a look at Selenium and the tools mentioned at Selenium alternatives?.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top