V4.4 Selenium fix

This commit is contained in:
2025-11-11 13:18:02 +00:00
parent 42a4778555
commit a91c3b846f
5 changed files with 96 additions and 27 deletions

View File

@@ -18,7 +18,6 @@ namespace AiQ_GUI
try
{
driver = Selenium.OpenDriver();
// Keep retrying until connected or cancelled
bool connected = false;
while (!connected && !token.IsCancellationRequested)
@@ -27,6 +26,7 @@ namespace AiQ_GUI
{
// Attempt initial connection and navigation to setup tab
Selenium.GoToUrl($"http://{CamInfo.IP}", driver);
Selenium.SwitchUser(driver);
Selenium.ClickElementByID("tabSetup", driver);
connected = true;
}