SeldomQA / poium

Page Objects design pattern test library, support selenium、appium、playwright, etc
https://pypi.org/project/poium
Apache License 2.0
416 stars 140 forks source link

is_enabled返回不对 #15

Closed eastonliu closed 5 months ago

eastonliu commented 4 years ago

源码中第445行: def is_enabled(self): """Returns whether the element is enabled.""" elem = self.__get_element(self.k, self.v) return elem.is_selected() 返回错误,返回写成 return elem.is_selected() 应该是 return elem.is_enabled()

klookAppTest commented 4 years ago

已修复:https://github.com/SeldomQA/poium/commit/8e5fc5d6a549ec4008fe1f570a968b38b0de4b20