页面滚动,打包,appium工具

'''
移动到元素element对象的“底端”,与当前窗口的“底部”对齐:
我们需要将页面下拉一个滑轮
'''

for y in range(3):
    js = 'window.scrollBy(0,100)'
    driver.execute_script(js)
    time.sleep(0.5)

打包.exe

pip install pyinstaller
pyinstaller -D index0py

APPium可视化

pip install weditor
python -m weditor
posted @ 2021-07-08 22:56  乐乐乐乐乐乐樂  阅读(59)  评论(0)    收藏  举报
jQuery火箭图标返回顶部代码