Query the value of a web element’s computed CSS property //查询web元素的计算CSS属性的值
Example Usage
Java
MobileElement element = (MobileElement) driver.findElementById("SomeId");String cssProperty = element.getCssValue("style");
Python
cssProp
Clear an element’s value
Example Usage
Java
MobileElement element = (MobileElement) driver.findElementByAccessibilityId("SomeAccessibilityID");element.clear()
Python
self.driver.find_element_by_accessibility_id('SomeAccessibilityID').
Remove an app from the device
Example Usage
Java
driver.removeApp("com.example.AppName");
Python
self.driver.remove_app('com.example.AppName');
Javascript
// webdriver.io exampledriver.removeApp('com.example.AppName')// wd exampleaw