public static void SelectPCs() { SeleniumSetMethods.StepStart("Loads web page (https://www.links.hr/hr/).", "1"); SeleniumGetMethods.PageLoaded(WebDriver.driver.Url, "links"); Console.WriteLine("Button 'Računala':"); SeleniumSetMethods.ElementDisplayedAndEnabled(btnRačunala); SeleniumSetMethods.StepStart("Clicks button 'Računala'.", "2"); SeleniumSetMethods.MoveToElement(btnRačunala, WebDriver.driver); SeleniumSetMethods.Clicks(btnRačunala); string urlSorted = WebDriver.driver.Url; SeleniumSetMethods.WaitForPageToLoad(WebDriver.driver, 35); SeleniumGetMethods.PageLoaded(urlSorted, "racunala"); }