Appium Android UI testing - how to verify the style attribute of an element?
问题 I would like to verify the style of an element i.e. the color of the text shown in a textview. Whether it is black or blue ex. textColor or textSize. This information is not listed in the uiautomatorviewer. I can get the text using elem.get_attribute("text") as the text value is seen in the Node Detail. Is there a way to check for the style attributes?( I can do this fairly easy with straight selenium.) 回答1: Update. As it turns out that cannot be done with appium webdriver. For those of you