1
今天我更新了我的appium
到1.5
一切除了mobile: scrollTo
命令罚款运行。移动滚动命令,不appium 1.5工作的iOS应用
el = getattr(driver, 'find_element_by_' + locator_type)(locator_path)
driver.execute_script("mobile: scrollTo", {"element": el.id})
这个代码不工作了,我得到一个错误:
WebDriverException: Message: Unknown command, all the mobile commands except scroll have been removed.
谁能帮助我?