Ensure page closure after use for all pages so that unnecessary pages are not loaded.

This commit is contained in:
2026-04-14 19:14:58 +05:00
parent 46e793135f
commit 62f8f1b44b
2 changed files with 10 additions and 1 deletions
+1
View File
@@ -58,6 +58,7 @@ public static class GoogleMessages
string messageText = await messageElement.InnerTextAsync();
await originalPage.BringToFrontAsync();
await msgPage.CloseAsync();
return messageText;
}
}