← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #246694]: Sikuli with Selenium Java

 

Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694

    Status: Open => Answered

RaiMan proposed the following answer:
Region regResult = Region.create(s.getLastMatch().getTarget(), 69, -77);
// get the result field

not really clear what you want to say with a negative height??

 Region.create(s.getLastMatch().getTarget(), 69, -77)

corresponds to
 Region.create(someLocation, width, height)

where you have:
someLocation = s.getLastMatch().getTarget()
is valid and gets the top left corner of the new region 

with a width of 69 and a
height of -77  ????????

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.