Exemplo n.º 1
0
        /// <summary>
        /// Creates a step that navigates to a url using the
        /// chrome driver.
        /// </summary>
        /// <param name="description">The text to display for the step.</param>
        /// <param name="url">The url to load in the browser.</param>
        /// <returns>xBDD Step to add to a scneario.</returns>
        public Step NavigateTo(string description, string url)
        {
            var pageLocation = new PageLocation(description, url);

            return(NavigateTo(pageLocation));
        }
Exemplo n.º 2
0
 public void Load(PageLocation location)
 {
     driver.Url = location.Url;
 }