当前位置:网站首页>启动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)
边栏推荐
- Difference between char and varchar
- Eureka服务注册与发现
- C WPF realizes dynamic loading of controls through binding
- Ffplay realizes user-defined input stream playback
- Product axure9 (English version), prototype design background dynamic secondary menu display content
- 在线文本过滤小于指定长度工具
- Wechat multiplayer chat and Roulette Games (websocket Implementation)
- Sstable details
- U-Net: Convolutional Networks for Biomedical Image Segmentation
- [AI practice] xgbgressor model accelerates training and uses GPU to train xgbgressor in seconds
猜你喜欢

vs在连接SQL时出现的问题myconn.OPen();无法运行

C WPF realizes dynamic loading of controls through binding

干货来了|《PaaS》合辑抢先看~

Vs problems when connecting to SQL myconn OPen(); cannot execute

Tp6+redis+think-queue+supervisor implements the process resident message queue /job task

Both are hard disk partitions. What is the difference between C disk and D disk?

【星球精选】如何高效构建 Roam 与 theBrain 间细粒度双向链接?

HCIP之路第八次实验

利用for循环输出一个字母三角形

基于51单片机的温度检测监测报警系统设计
随机推荐
【唠嗑篇】普通人到底该怎么学技术啊?
Heuristic search strategy
MySQL (VIII) - explain
[AI practice] data normalization and standardization of machine learning data processing
C WPF additional attribute implementation interface defines decorator
The Sandbox 与《足球小将》达成合作,将流行的足球漫画及动画带入元宇宙
csrf攻击在laravel中如何解决
[interface automation] software testing the core skills of salary increase to increase salary by 200%
YGG 西班牙 subDAO——Ola GG 正式成立
codeforce 158B Taxi
Make a record of glib2.14 upgrading glib2.18 and the principle of the steps
Detailed explanation of redis persistence, master-slave and sentry architecture
【PyQt5系列】修改计数器实现控制
Chain tour airship development farmers' world chain tour development land chain tour development
Design of temperature detection and alarm system based on 51 single chip microcomputer
Wechat multiplayer chat and Roulette Games (websocket Implementation)
RTMP streaming exception fast recovery scheme
2.概率论-概率论公理
如何优雅的快速下载谷歌云盘的大文件 (二)
Akamai-1.75 version-_ Abck parameter generation JS reverse analysis
