4

Python爬虫编程思想(128):使用Appium抓取移动数据(2)--启动Appium服务

 2 years ago
source link: https://blog.csdn.net/nokiaguy/article/details/122817505
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Python爬虫编程思想(128):使用Appium抓取移动数据(2)--启动Appium服务

original.png
蒙娜丽宁 newCurrentTime2.png 于 2022-02-08 08:24:38 发布 articleReadEyes2.png 1112
专栏收录该内容
131 篇文章 9 订阅 ¥29.90 ¥99.00

运行Appium,会显示如图1所示的页面。

        然后单击“Start Server v1.12.1”按钮,会启动Appium服务,相当于开启一个Appium服务器,如图2所示。我们可以通过Appium内置的驱动或Python代码(当然其他编程语言的代码也可以)向Appium的服务器发送一系列操作指令,Appium就会根据不同的指令对移动设备进行驱动,完成不同的动作。也就是说,我们并不直接操作移动设备,而是操作Appium服务器,然后由Appium服务器操作移动设备。

        Appium服务器运行后默认的监听端口是4723,我们可以向此端口对应的服务器发送操作指令,在图2所示的页面就会显示这个过程的日志信息。

文章知识点与官方知识档案匹配,可进一步学习相关知识

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK