开发者

Java program to simulate user saving a page in Firefox

I want to emulate a user saving a webpage 开发者_JAVA技巧into a directory (after login) from an external program in Java.

I found that this kind of things are usually done in testing suites such as Selenium or iMacros. Still, how could this be done in normal Java program?

Could I do it using DJnativeSwing?


You can perform the action with java.awt.Robot, which will really invoke Firefox. Or do you like to make a http-request with java? Did you think about images, videos, flash, javascript, cookies, referrer?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜