click

abstract fun click(xpath: String)

模拟用户点击由XPath指定的元素。

Parameters

xpath

需要点击元素的XPath。

Throws

如果根据XPath未找到任何元素。