public class History
extends java.lang.Object
Browser.history()
.
This class is used to move back and forward in the browser history.
Constructor and Description |
---|
History(Browser browser)
Constructs new BrowserHistory instance to interact with the browser history
|
public History(Browser browser)
browser
- Browser
instance to work withpublic void back(int count)
count
- number of consecutive back commandspublic void back()
public void forward(int count)
count
- number of consecutive forward commandspublic void forward()