Class TraverseHistoryCommandParameters
- Namespace
- WebDriverBiDi.BrowsingContext
- Assembly
- WebDriverBiDi.dll
Provides parameters for the browsingContext.traverseHistory command.
public class TraverseHistoryCommandParameters : CommandParameters<TraverseHistoryCommandResult>
- Inheritance
-
TraverseHistoryCommandParameters
- Inherited Members
Constructors
TraverseHistoryCommandParameters(string, long)
Initializes a new instance of the TraverseHistoryCommandParameters class.
public TraverseHistoryCommandParameters(string browsingContextId, long delta)
Parameters
browsingContextIdstringThe ID of the browsing context for which to traverse the history.
deltalongThe number of positions, forward or backward, to move in the browser history.
Properties
BrowsingContextId
Gets or sets the ID of the browsing context for which to traverse the history.
[JsonPropertyName("context")]
public string BrowsingContextId { get; set; }
Property Value
Delta
Gets or sets the number of entries in the history to traverse in the browser history. Positive values move forward in the history; negative values move backward in the history.
[JsonPropertyName("delta")]
public long Delta { get; set; }
Property Value
MethodName
Gets the method name of the command.
[JsonIgnore]
public override string MethodName { get; }