and its
elementByClassname("android.v4.ViewPage")
elementByXpath(".//*[@text='cart']")
elementById("cart")
elementByClassChain(".//XCUITypeWindow//*//XCUIClassName")
elementByCustom("ai:cart")
How does the
The model is a neural network that takes a 224✕224 pixel 3-channel color image as input and outputs 105 numbers that represent the confidence or probability that the input image matches each of the 105 labels that the model knows about (cart, edit, twitter, etc.
The model is MobileNet v1,2 which is a pre-trained model released by Google AI. MobileNet is a “deep”, “convolutional” neural network.
Training the model to
Selector Strategy | ||
---|---|---|
CSS/XPath | When your app’s DOM changes | Easy to understand why Easy to fix |
Test.ai’s image classifier | When your app’s icons change visibly When the model changes (that is, when you upgrade the Appium plugin) |
Hard to understand why Hard to fix |