예제 #1
0
        internal Uri Create(string title, string content)
        {
            Title.SendKeys(title);
            SwitchToHtml.Click();
            Content.SendKeys(content);

            WaitForClickable(By.CssSelector(".edit-slug.button"), 3);

            Publish.Click();
            WaitForClickable(By.Id("publish"), 5);

            return(new Uri(Slug.GetAttribute("href")));
        }