如何为appium' mobile':' tap'

时间:2018-06-12 12:09:57

标签: python ios mobile automation appium

我正在尝试自动化我的iPad以使用Appium挖掘不同的坐标点。 我正在使用以下命令:

self.driver.execute_script('mobile: tap', {x:, y:})

此命令要求xy变量为整数,但我希望能够将xy的数字随机化为{ {1}},但它坚持只接受一个整数。有没有办法做到这一点?

0 个答案:

没有答案