The navigation() method triggers a change of URL in recordings although it stays the same on the recorded website.

Useful for Single Page Apps that do not use router or internal navigation.

Syntax

navigation(url)

Parameters

url

  1. string

Return value

void

Examples

Smartlook.navigation('/login')