Then CSS search will not work.
I am using below code to get colour of image .
MobileElement element = (MobileElement) driver.findElementById(“SomeId”);
String cssProperty = element.getCssValue(“style”);
after i got this error
org.openqa.selenium.InvalidSelectorException: Locator Strategy ‘css selector’ is not supported for this session
Then CSS search will not work.:-then how to implement this
You need to use getAttribute. First check what attributes has your element e.g. in Appium inspector or in pageSource. If you see anything needed use el.getAttribute(“attr_name”)
HI @Aleksei: in my application first scroll goes down and after 8-10 scroll it goes up automatic
How to rotate mobile screen left
Please help ,I am rotating the screen of mobile i got the below error
org.openqa.selenium.InvalidElementStateException: Set the orientation, but app refused to rotate
how to skip play video and scroll continue
in my scenario first play the video after that the scroll continue
we want to check the internet connection on device through appium