Please help me solve the problem.
Trying to scroll to name in XCUIElementTypeImage type
but the scroll doesn’t happen.
If name is in XCUIElementTypeView then scroll successfully. I don’t know what the problem is =(
use
fun scrollToContentDesk(content: String) {
var element: IOSElement?
when (Constants.RunVariables.PLATFORM) {
Constants.Platform.IOS -> {
element = applicationManager.getDriver().findElement(By.name(content))
element?.click()
}
}
Element:
type
XCUIElementTypeImage
name "“text massege”
enabled
true
visible
true
accessible
true
index
1
accessibility id “text massege”