Support assert_path implementations for browser-based Driver implementations
Background
Browser-based tests have a decoupled state. It may be necessary to retry/await until the path is updated in the browser.
To support this, the Driver implementation should be allowed to choose how to fetch the current_path and not be forced to store it as a struct entry.
Extracted from #74
Goal
Support
assert_path
implementations for browser-basedDriver
implementationsBackground
Browser-based tests have a decoupled state. It may be necessary to retry/await until the path is updated in the browser. To support this, the
Driver
implementation should be allowed to choose how to fetch thecurrent_path
and not be forced to store it as a struct entry.