A page object element is called a method, do not know in this case, the Head detection label element method is called Label
, the method has been handed down to the underlying water (or selenium) element, when this happens, you will receive warnings. label
in the water. However, to avoid warning in page object gem, it should be label_element
:
def competitor_name_select (name) self.choose_competitor_dialog_element.label_element (: text = & gt; ; Name). Parent.checkbox (: class => 'dijitReset dijitCheckBoxInput'). Set End
Comments
Post a Comment