擷取某個對象的對應屬性的值
在selenium2library中有對應的函數源代碼,可以直接檢視。
self.current_month_locator='xpath=/html/body/div[3]/input'
current_month = self.selenium.get_element_attribute(self.current_month_locator+"@realValue")
擷取某個對象的對應屬性的值
在selenium2library中有對應的函數源代碼,可以直接檢視。
self.current_month_locator='xpath=/html/body/div[3]/input'
current_month = self.selenium.get_element_attribute(self.current_month_locator+"@realValue")