MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / back

Method back

src/main/java/org/htmlunit/History.java:188–194  ·  view source on GitHub ↗

Goes back one step in the navigation history, if possible. @return this navigation history, after going back one step @throws IOException in case of error

()

Source from the content-addressed store, hash-verified

186 * @throws IOException in case of error
187 */
188 public History back() throws IOException {
189 if (index_ > 0) {
190 index_--;
191 goToUrlAtCurrentIndex();
192 }
193 return this;
194 }
195
196 /**
197 * Goes forward one step in the navigation history, if possible.

Callers 15

historyMethod · 0.95
historyCacheSizeMethod · 0.95
historyPageCacheLimitMethod · 0.95
_hyperscript.jsFile · 0.45
_hyperscript.jsFile · 0.45
_hyperscript.jsFile · 0.45
_hyperscript.jsFile · 0.45
_hyperscript.jsFile · 0.45
_hyperscript.jsFile · 0.45
_hyperscript.jsFile · 0.45

Calls 1

goToUrlAtCurrentIndexMethod · 0.95

Tested by 14

historyMethod · 0.76
historyCacheSizeMethod · 0.76
historyPageCacheLimitMethod · 0.76
postMethod · 0.36
historyCacheMethod · 0.36
replaceLastInHistoryMethod · 0.36
pushStateSimpleMethod · 0.36
pushStateMethod · 0.36
pushStateCloneMethod · 0.36
pushStateLocationHrefMethod · 0.36