New Lettuce/Python user, it's pretty cool.
I'm messing around, trying to write a test that checks a checkbox on a page, but though the object is recognized the test fails with the following output:
And I check "apartment" # usr/local/lib/python2.7/dist-packages/lettuce_webdriver/webdriver.py:311
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/lettuce/core.py", line 144, in __call__
ret = self.function(self.step, *args, **kw)
File "/usr/local/lib/python2.7/dist-packages/lettuce_webdriver/webdriver.py", line 315, in check_checkbox
check_box.click()
File "/usr/local/lib/python2.7/dist-packages/lettuce_webdriver/webdriver.py", line 314, in check_checkbox
if not check_box.is_selected():
AssertionError: And I check "apartment", failed because: 'bool' object has no attribute 'is_selected'