Comment 0 for bug 778819

Revision history for this message
anatoly techtonik (techtonik) wrote : X-1.0rc2: TypeError: click(): expected 2 args; got 1

This gives the error above:

    for ready in region.findAll(status):
      ready.nearby(100)).click(ok)

Note that this also gives the same error:

    for ready in region.findAll(status):
      ready = Region(ready)
      ready.nearby(100).click(ok)

Only this one works without `click(): expected 2 args; got 1` error:

    for ready in region.findAll(status):
      Region(ready.nearby(100)).click(ok)