pressBack
Triggers a system back navigation press.
Platform Support
Android: Triggers the system hardware back button.
WasmJs: Triggers browser history back navigation (
window.history.back()).iOS: Triggers top-level navigation bar back action.
Desktop JVM: Triggers top-level back navigation if handled by the window event listener.
Example Usage
click("Open Details")
pressBack()
assertVisible("main_list")Content copied to clipboard