I have added accessibilityIdentifier to the source code. And did:
let privacypolicyurl = app.tables.textViews["privacyPolicy"]
privacypolicyurl.tap()
And another way:
let privacypolicyurl =
app.tables.textViews.containing(.link,identifier:"privacy Policy").element
privacypolicyurl.tap()
Then tried to debug with po app.links and see this:
Link 0x618000173140: traits: 8589934594, {{261.7, 592.3}, {74.7, 17.5}}, label: 'Privacy Policy' }
So, I came up with
let cooridnate =
app.tables.textViews["privacyPolicy"].coordinate(withNormalizedOffset: CGVector(dx: 261.7, dy: 592.3))
cooridnate.tap()
Unfortunately none of these worked out for me. Please help to figure out.