Skip to content

Commit

Permalink
Remove GetElementById method from Locators.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
henokicatt committed Jan 8, 2025
1 parent 1982007 commit 9f0ab55
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ internal static class Locators
public static ILocator GetSummaryElement(this IPage page) => page.Locator("summary");
public static ILocator GetSkillsSummaryElement(this IPage page) => page.GetSummaryElement().Filter(new() { HasText = "Filter op categorie" });
public static ILocator GetSkillsFieldset(this IPage page) => page.GetByRole(AriaRole.Group, new() { Name = "Filter op categorie" });
public static ILocator GetElementById(this IPage page, string id) => page.Locator($"#{id}");
public static ILocator GetWerkberichtTypeSelector(this IPage page) => page.Locator($"#werkbericht-type-input");
public static ILocator GetNieuwsAndWerkinstructiesSearch(this IPage page) => page.Locator($"#search-input");
public static ILocator GetSearchResult(this IPage page) => page.Locator("section").Filter(new() { Has = page.GetByRole(AriaRole.Heading, new() { Name = "Zoekresultaten" }) });
Expand Down

0 comments on commit 9f0ab55

Please sign in to comment.