marwan
marwan

Reputation: 11

Control Firefox using Java

I am building a Java application which controls Firefox or any web browser; it controls the main commands in it such as "Home", "Refresh", "Stop", "Zoom In", "Zoom Out", "Copy", "New Tab", etc.
Please help me with that.

Upvotes: 0

Views: 6695

Answers (3)

agodinhost
agodinhost

Reputation: 391

This very same question is here AND I do agree that it's not an easy task. Try to get something already made inside selenium or any another library.

Upvotes: 0

MarcoS
MarcoS

Reputation: 13574

"Controlling a browser" from java sounds kind of difficult, and also I'm not very sure why you may want to do that. If you need to have your own "programmable" or "controllable" browser you may consider using things such as webkit. See this question for a discussion on how to integrate WebKit in a Java application.

Upvotes: 2

reef
reef

Reputation: 1833

I think you could take a look at the Selenium project.

They have a Java API to control the browser.

Upvotes: 3

Related Questions