Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

splash screens #10

Open
peterainbow opened this issue Jun 3, 2020 · 3 comments
Open

splash screens #10

peterainbow opened this issue Jun 3, 2020 · 3 comments

Comments

@peterainbow
Copy link

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--;
        }
@kfrajtak
Copy link
Owner

kfrajtak commented Jun 4, 2020

Do you think to add support of a capability like this? microsoft/WinAppDriver#1181 (comment)

@peterainbow
Copy link
Author

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

@kfrajtak
Copy link
Owner

kfrajtak commented Jun 4, 2020

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

kfrajtak added a commit that referenced this issue Jun 7, 2020

Verified

This commit was signed with the committer’s verified signature.
nonrational Alan Norton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants