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.
Asked
Active
Viewed 6,614 times
0
-
1why do you want to do it ?? any kind of testing ? boat ?? – jmj Apr 06 '11 at 13:17
-
What language? What OS? How do you want to control it, by using some firefox API, by simulating mouse clicks etc.? – pajton Apr 06 '11 at 13:17
-
2"plz help me in that" Please take the effort to spell all 6 letters of words like 'please'. You also seem to have a sticky 'i' key. Please fix that as well. – Andrew Thompson Apr 06 '11 at 15:21
3 Answers
3
I think you could take a look at the Selenium project.
They have a Java API to control the browser.

reef
- 1,813
- 2
- 23
- 36
-
i am buildin a voice control system for web browser , i have finished the voice recognition tasks ,, now i have the result from the recognition and i wanna use it to control the web browser – marwan Apr 06 '11 at 13:22
2
"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.
0
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.

Community
- 1
- 1

agodinhost
- 381
- 4
- 16