当前位置:网站首页>启动appium
启动appium
2022-06-23 07:01:00 【罗汉翔】
原文链接:
Appium使用命令行方式启动服务_java2013liu的博客-CSDN博客_命令行启动appium服务
1.一个简单的例子,没有指定任何参数:
命令行中输入:appium
第一行:欢迎使用Appium,版本 v1.6.5
第二行:Appium启动成功,启动ip为默认的 0.0.0.0,端口为默认的 4723;默认即表示“不指定”的情况下;
2.指定一些参数
命令行中输入:appium -a 127.0.0.1 -p 4723 --session-override

-a 是指定监听的ip(也可写成 --address),后面“127.0.0.1”可以改为你需要的ip地址;
-p 是指定监听的端口(也可写成 --port),也可以修改为你需要的端口;
--session-override 是指覆盖之前的session;
3.实际工作中常用的命令
命令行中输入:appium -a 127.0.0.1 -p 4727 -bp 4728 --chromedriver-port 9519 -U xiaomi --session-override

-bp 是连接Android设备bootstrap的端口号,默认是4724(也可写成--bootstrap-port)
--chromedriver-port 是chromedriver运行需要指定的端口号,默认是9515
-U 是连接的设备名称,如"adb devices"获取的设备标识(也可写成--udid)
边栏推荐
- 20BN-Jester完整数据集下载
- RTMP streaming exception fast recovery scheme
- [interface automation] software testing the core skills of salary increase to increase salary by 200%
- 在线JSON转CSharp(C#)Class工具
- 279. perfect square
- . H5 file forgets the database name and uses h5py to print
- Chain tour airship development farmers' world chain tour development land chain tour development
- 【markdown】markdown 教程大归纳
- 2.概率论-概率论公理
- [pyqt5 series] modify the counter to realize control
猜你喜欢

How to tag and label naming before the project release

3dmax插件开发环境配置及FileExport和Utilities模板测试

《一周的朋友》

Product axure9 (English version), prototype design and production pull-down secondary menu
![[game theory] basic knowledge](/img/eb/08b1ce5106e574dc42be58f72fbab9.jpg)
[game theory] basic knowledge

SimpleDateFormat 线程安全问题

Can you think of a better way to solve the problem of string inversion?

Sstable details

Test APK exception control nettraffic attacker development

【博弈论】基础知识
随机推荐
左乘右乘矩阵问题
csrf攻击在laravel中如何解决
Left multiply right multiply matrix problem
[deep learning] [original] how to detect targets and draw map and other parameter maps without yolov5 weights or models
Difference between char and varchar
【markdown】markdown 教程大归纳
小爱音箱连接网络异常解决办法
Pagoda forgot password
Feelm joined the Carbon Disclosure Project as an initiative of Smallville to deal with climate change emergencies
Heuristic search strategy
这道字符串反转的题目,你能想到更好的方法吗?
How to solve CSRF attack in laravel
U-Net: Convolutional Networks for Biomedical Image Segmentation
作为思摩尔应对气候变化紧急事件的一项举措,FEELM加入碳披露项目
分布式ID生成
[interface automation] software testing the core skills of salary increase to increase salary by 200%
CIRIUM(睿思誉)逐渐成为航空公司二氧化碳排放报告的标准
[AI practice] xgb Xgbregression multioutputregressor parameter 1
传智教育 | 项目发布前如何打tag标签及标签命名规范
Abnormal logic reasoning problem of Huawei software test written test
