Skip to content

Commit

Permalink
make beheer naviation more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
felixcicatt committed Dec 23, 2024
1 parent 171990a commit 2621d69
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static async Task NavigateToNieuwsWerkinstructiesBeheer(this IPage page)

await beheerlink.WaitForAsync(new() { State = WaitForSelectorState.Hidden });

if (await berichtenlink.GetAttributeAsync("aria-current") != "page")
while (await berichtenlink.GetAttributeAsync("aria-current") != "page")
{
await berichtenlink.ClickAsync();
}
Expand All @@ -39,7 +39,7 @@ public static async Task NavigateToSkillsBeheer(this IPage page)

await beheerlink.WaitForAsync(new() { State = WaitForSelectorState.Hidden });

if (await skillslink.GetAttributeAsync("aria-current") != "page")
while (await skillslink.GetAttributeAsync("aria-current") != "page")
{
await skillslink.ClickAsync();
}
Expand Down

0 comments on commit 2621d69

Please sign in to comment.