public void test_links_with_api_call( [Values("created", "no-content", "moved", "bad-request", "unauthorized", "forbidden", "not-found")] string linkType) { ElementsPage page = new ElementsPage(driver, LinksBtnUrl); page.open_page(); page.click_link_with_api_call(linkType); bool checkRes = page.check_click_res(linkType); Assert.True(checkRes, "Error with sending api call with link"); }