public void test_links_with_new_tab(string linkType) { ElementsPage page = new ElementsPage(driver, LinksBtnUrl); page.open_page(); string openedLink = page.open_link_in_new_tab(linkType); Assert.AreEqual(BaseUrl, openedLink, "Error with opening new tab with click to link"); }