Skip to main content

set_intercepting_urls

Function set_intercepting_urls 

Source
pub fn set_intercepting_urls(on: bool)
Expand description

Start or end a test run’s interception of crate::open_url: while it is on, a URL the app asks to open is recorded instead of opened, so assert_opened_url can check it and no browser starts on the machine running the tests.