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.
誰能幫助我?