mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-05 00:49:00 +02:00
Feature/doc markup (#543)
* Added release notes * #509 fixedOCOD typo * Updated values * Updated comments * Changed stdlib docs format * Changed format of array in docs * Use 'any' instead of 'value' in docs * New format for optional params * Updated docs for testing package * Added namespace information
This commit is contained in:
@ -12,10 +12,10 @@ import (
|
||||
// NAVIGATE_BACK navigates a given page back within its navigation history.
|
||||
// The operation blocks the execution until the page gets loaded.
|
||||
// If the history is empty, the function returns FALSE.
|
||||
// @param page (HTMLPage) - Target page.
|
||||
// @param entry (Int, optional) - Optional value indicating how many pages to skip. Default 1.
|
||||
// @param timeout (Int, optional) - Optional timeout. Default is 5000.
|
||||
// @returns (Boolean) - Returns TRUE if history exists and the operation succeeded, otherwise FALSE.
|
||||
// @param {HTMLPage} page - Target page.
|
||||
// @param {Int} [entry=1] - An integer value indicating how many pages to skip.
|
||||
// @param {Int} [timeout=5000] - Navigation timeout.
|
||||
// @return {Boolean} - True if history exists and the operation succeeded, otherwise false.
|
||||
func NavigateBack(ctx context.Context, args ...core.Value) (core.Value, error) {
|
||||
err := core.ValidateArgs(args, 1, 3)
|
||||
|
||||
|
Reference in New Issue
Block a user