Exemple #1
0
        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;
            }
        }
Exemple #2
0
        public async Task <Uri> NavigateTo(Uri uri)
        {
            await _driver.NavigateTo(uri);

            return(await GetLocation());
        }