Skip to content

navigate_forward

roei sabag edited this page Jul 12, 2020 · 1 revision

Description

Move forward a single entry in the browser's history. The action will be completed when page ready state equals complete or until page loading timeout reached.

Scope

Web, Mobile Web or any other Web Driver implementation which implements Forward.

Properties

Property Description
argument Plugin conditions and additional information.

Command Line Arguments (CLI)

None

Examples

Example no. 1

Can be tested on

Move forward a single entry in the browser's history.

Action Rule (JSON)

{
    "action": "NavigateForward"
}

Rhino Literal

navigate forward

CSharp

// option no.1
var actionRule = new ActionRule
{
    Action = PluginsList.NavigateForward
};

// option no.2
var actionRule = new
{
    Action = "NavigateForward"
};

Python

action_rule = {
    "action": "NavigateForward"
}

Java Script

var actionRule = {
    action: "NavigateForward"
};

Java

ActionRule actionRule = new ActionRule().setAction("NavigateForward");

Example no. 2

Can be tested on

Move forward 2 entries in the browser's history.

Action Rule (JSON)

{
    "action": "NavigateForward",
    "argument": "2"
}

Rhino Literal

navigate forward {2}

CSharp

// option no.1
var actionRule = new ActionRule
{
    Action = PluginsList.NavigateForward,
    Argument = "2"
};

// option no.2
var actionRule = new
{
    Action = "NavigateForward",
    Argument = "2"
};

Python

action_rule = {
    "action": "NavigateForward",
    "argument": "2" 
}

Java Script

var actionRule = {
    action: "NavigateForward",
    argument: "2"
};

Java

ActionRule actionRule = new ActionRule().setAction("NavigateForward").setArgument("2");

Clone this wiki locally