// GET: /<controller>/ public IActionResult Index() { var model = new BlogHomePage { Comments = new List <Comment> { new Comment { Id = 1, Description = "Bad Post" } } }; return(View(model)); }
public void Initialized() { this.driver = BrowserHost.Instance.Application.Browser; this.home = new BlogHomePage(this.driver); home.NavigateTo(); }