sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13509
Re: [Question #210518]: Click button beside a label using Java
Question #210518 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/210518
Description changed to:
I want to click a button which is located beside a label on a webpage
using the Sikuli Java lib. But it fails at the click step saying it
couldnt find the button image. Not sure if Match is the correct class to
be used in here. I would appreciate if someone can help on this?
code:-
Match m = sample.find("lblFileUpload.png").right().find("btnUpload.png");
sample.click(m);
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.