public async Task <Uri?> NavigateTo(Uri uri, CancellationToken?token = null) { try { await _driver.NavigateTo(uri, token); return(await GetLocation()); } catch (TaskCanceledException ex) { await DumpState(uri, ex); throw; } }
public async Task <Uri> NavigateTo(Uri uri) { await _driver.NavigateTo(uri); return(await GetLocation()); }