If the layout XML, as produced by the "Inspect user interface" button, includes the UI element then the XPath should be to selected it. But browsers usually dont' even produce an proper XML since they do they own rendering/drawing, bypassing the Android way, without including accessibility information necessary. As the
documentation say, "
Targeted actions which are performed on a specific Android UI element,
as selected by evaluating the
XPath expression,
custom graphics as used in
browsers and games may not work."