** Changed in: sikuli
       Status: Confirmed => Fix Committed

** Changed in: sikuli
    Milestone: None => x1.0-rc3

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/583090

Title:
  X-1.0rc2: find().click(): 2nd arg of click() not optional

Status in Sikuli:
  Fix Committed

Bug description:
  *** bug still valid with X-1.0rc2

  Calling click on a Match object requires a modifier as second
  argument:

  find(img1).click(img2, 0)

  The following does not work:

  find(img1).click(img2)

  TypeError: click(): expected 2 args; got 1

  But this does:

  Region(find(img1)).click(img2)

  According to the documentation, Match is a subclass of Region and
  therefore the modifier argument for click should be optional.

  The problem is that find(img1) returns an instance of
  edu.mit.csail.uid.Match, whereas Region(find(img1)) is a class
  instance of sikuli.Region.Region.

  Sikuli version: 0.10.0
  OS version: Windows XP SP3

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/583090/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to