WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

splash screens

Open peterainbow opened this issue 4 years ago • 3 comments

doesn't handle splash screen popups well, same as msofts

adding in a delay after the start of the process or the like might be the way to go

        Logger.Info($"MainWindowHandle {process.MainWindowHandle}");
        System.Threading.Thread.Sleep(10000);
        process.Refresh();
        Logger.Info($"MainWindowHandle {process.MainWindowHandle}");
        int delayCount = 10;
        while ((int)process.MainWindowHandle == 0 && delayCount > 0)
        {
            Logger.Info($"Wiating for a MainWindowHandle");
            System.Threading.Thread.Sleep(500);
            process.Refresh();
            delayCount--;
        }

peterainbow avatar Jun 03 '20 15:06 peterainbow

Do you think to add support of a capability like this? https://github.com/microsoft/WinAppDriver/issues/1181#issuecomment-638822706

kfrajtak avatar Jun 04 '20 14:06 kfrajtak

i did indeed

just to be clear i think what you have done is fantastic, was just trying to be helpful, but am conscious this is a very public way of commenting/discussing

so sorry for that

peterainbow avatar Jun 04 '20 18:06 peterainbow

No worries and thanks. I am glad somebody is interested in my project!

kfrajtak avatar Jun 04 '20 19:06 kfrajtak