How to open a URL in a Browser , and refresh it periodically using Java. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to open a URL in a Browser , and refresh it periodically using Java.

I know how to open a URL in Browser but my codes are opening multiple tabs, instead of refreshing. Is there any way to refresh it ?

24th Sep 2016, 3:29 PM
Nitin Kumar
Nitin Kumar - avatar
1 Answer
0
no. you would have to tell your browser which of the open tabs you would like to refresh. but there is no way in pure java to get a list of open tabs from the browser and then tell it which specifically you would want to refresh. try using a browser plugin for that. like reloaded reloadevery for Firefox.
25th Sep 2016, 9:16 PM
Dennis