← Back to team overview

sikuli-driver team mailing list archive

[Question #676275]: .exists doesnt work properly

 

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

so i am trying to locate a element which is located in bottom of screen
i have to scroll down to bottom for that i use type(Keys.down);

but the problem is even though if finds that locator it keeps scrolling and doesnt click on that locator
below is the code for same


		while(s.exists(locator)==null){
			s.type(Keys.DOWN);
			if(s.exists(locator)!=null){
				s.click(locator);
			}
		}

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