← Back to team overview

sikuli-driver team mailing list archive

[Question #675972]: How to wait for Text field while page loading and type text when field id active.

 

New question #675972 on Sikuli:
https://answers.launchpad.net/sikuli/+question/675972

Is there any alternative to Thread.sleep in sikuli on page loading 

  public static void searchCreateNewDonor(String searchDonorText, Screen screen, Pattern searchDonor, Pattern select_CreateDonor) {

        try {

            Thread.sleep(20000);
            screen.wait(searchDonor, 10);
            screen.type(searchDonor, searchDonorText);
            screen.hover(select_CreateDonor);
            screen.doubleClick(select_CreateDonor);

        } catch (FindFailed findFailed) {
            findFailed.printStackTrace();
        } 

    }



-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.