I can bind checkbox (needs refactoring)
This commit is contained in:
@@ -1158,6 +1158,8 @@ class MyTestClient:
|
||||
|
||||
def _testable_element_factory(self, elt):
|
||||
if elt.name == "input":
|
||||
if elt.get("type") == "checkbox":
|
||||
return TestableCheckbox(self, elt)
|
||||
return TestableInput(self, elt)
|
||||
else:
|
||||
return TestableElement(self, elt, elt.name)
|
||||
|
||||
Reference in New Issue
Block a user