V4.4 Selenium fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user