Navigation tests trigger shouldOverrideUrlLoading (not
shouldInterceptRequest). Tap each button and observe what
SecureTerminal does — in enforcement mode the navigation should be blocked
(app stays here or shows a toast). In training mode it should proceed and
log the navigation.
⚠️ These tests are manual — they cannot auto-report a result
because a successful navigation would leave this page. Tap a button, note the
app's response, then navigate back.
1. <a href> link click
el.click() on <a href="https://example.com">
Simulates a user tapping a link. Goes through shouldOverrideUrlLoading.
2. window.location assignment
window.location = 'https://example.com'
Direct JS navigation. Goes through shouldOverrideUrlLoading.
3. window.location.href
window.location.href = 'https://httpbin.org'
Equivalent to the above; tests .href specifically.
4. window.open()
window.open('https://example.com', '_blank')
Popup / new tab. Goes through onCreateWindow in WebChromeClient.