I want to skip the text in the Accessibility node only recently. I used the line below to insert text into node accessibility editing text.
hintNameSrc.performAction(AccessibilityNodeInfo.ACTION_PASTE);
what it does, it adds the clipboard value to the Accessibility node does not replace the existing value in the Accessibility node. I want to replace the existing node availability value with the clipboard value, or I need to clear the node accessibility editing text.
Example: Suppose the hint node already has some text of type = " password_hint ", and I'm going to paste the clipboard value for the node hint. Suppose clipboard value = "true".
After insertion: hint node value = "password_hint true " what I need, hint node value: " true "
What is the action I need to use replace or clear text with node accessibility text. Can you help me with this.
source
share