Child
Makes the states produced by the given sequence children of the current state. When a state C is child of a state P, the browser doesn't go back from state C to state P, since it is assumed that state C contains state P.
Syntax
State.Child
ยท [sequence]
Parameters
- sequence
- The child sequence.
Remarks
This can be used when some action performs changes in the browser that add but does not remove any information from the page, such as clicking a button that displays new content. This way, when the browser needs to go back to the parent state, the page won't be reloaded, which can make the extraction much faster.