当前位置:网站首页>appium服务的启动与关闭踩坑记录
appium服务的启动与关闭踩坑记录
2022-06-25 15:32:00 【全栈哈士奇】

| 万叶集 |
|---|
| 隐约雷鸣,阴霾天空。 |
| 但盼风雨来,能留你在此。 |
前言:
作者简介:渴望力量的哈士奇 ,大家可以叫我 哈士奇 ,一位致力于 TFS - 全栈 赋能的博主
CSDN博客专家认证、新星计划第三季全栈赛道 top_1 、华为云享专家、阿里云专家博主
如果文章知识点有错误的地方,请指正!和大家一起学习,一起进步
人生格言:优于别人,并不高贵,真正的高贵应该是优于过去的自己。
如果感觉博主的文章还不错的话,还请关注、点赞、收藏三连支持一下博主哦
专栏系列(点击解锁) 学习路线指引 知识定位 Python全栈白皮书 零基础入门篇 以浅显易懂的方式轻松入门,让你彻底爱上Python的魅力。 语法进阶篇 主要围绕多线程编程、正则表达式学习、含贴近实战的项目练习 。 自动化办公篇 实现日常办公软件的自动化操作,节省时间、提高办公效率。 自动化测试实战篇 从实战的角度出发,先人一步,快速转型测试开发工程师。 数据库开发实战篇 更新中 爬虫入门与实战 更新中 数据分析篇 更新中 前端入门+flask 全栈篇 更新中 django+vue全栈篇 更新中 拓展-人工智能入门 更新中 网络安全之路 踩坑篇 记录学习及演练过程中遇到的坑,便于后来居上者 网安知识扫盲篇 三天打鱼,不深入了解原理,只会让你成为脚本小子。 vulhub靶场漏洞复现 让漏洞复现变得简单,让安全研究者更加专注于漏洞原理本身。 shell编程篇 不涉及linux基础,最终案例会偏向于安全加固方向。 [待完结] WEB漏洞攻防篇 2021年9月3日停止更新,转战先知社区等安全社区及小密圈 渗透工具使用集锦 2021年9月3日停止更新,转战先知社区等安全社区及小密圈 点点点工程师 测试神器 - Charles 软件测试数据包抓包分析神器 测试神器 - Fiddler 一文学会 fiddle ,学不会倒立吃翔,稀得! 测试神器 - Jmeter 不仅是性能测试神器,更可用于搭建轻量级接口自动化测试框架。 RobotFrameWork Python实现的自动化测试利器,该篇章仅介绍UI自动化部分。 Java实现UI自动化 文档写于2016年,Java实现的UI自动化,仍有借鉴意义。 MonkeyRunner 该工具目前的应用场景已不多,文档已删,为了排版好看才留着。

前言:当我本地安装好 appium 的环境,最终运行起来的时候,偶然发现了这个坑位。遂将其记录下来。
appium 的两种启动方式
当我们安装好 appium 的环境,启动该服务的时候,有两种启动方式。
终端执行 appium 或者 appium &
见下图:

二者的区别在于 appium 命令的启动方式可以通过 ctrl + c (mac 是 control + z) 强制关闭 ; 而 appium & 则不能通过该命令方式强制关闭。
所以当我们再次运行或者启动 appium 的时候会出现下面这种情况,

appium 服务的关闭
这个时候就需要先找到相对应的进程,然后 kill 掉,再重新启动即可。
通过查看端口号的方式查找 PID lsof -i tcp:4723 ;
或者 通过 ps | grep appium 方式查找 PID

执行命令 kill 33043 杀掉当前进程

OK ,搞定!

边栏推荐
- Brief object memory layout
- Could not connect to redis at 127.0.0.1:6379 in Windows
- JVM memory region details
- 到底要不要去外包公司?这篇带你全面了解外包那些坑!
- GDB debugging
- Core mode and immediate rendering mode of OpenGL
- Pytorch distributed test pit summary
- Sampling method and descriptive statistical function in R language
- Go language modifies / removes multiple line breaks in strings
- Yolov4 coco pre train Darknet weight file
猜你喜欢
![[paper notes] street view change detection with deconvolutional networks](/img/2d/777fd0d85ff4d349516b95923410fd.jpg)
[paper notes] street view change detection with deconvolutional networks

剑指 Offer 06. 从尾到头打印链表

Websocket (WS) cluster solution

Globally unique key generation strategy - implementation principle of the sender

Completabilefuture of asynchronous tools for concurrent programming

Using R language in jupyter notebook

JMeter reading and writing excel requires jxl jar

剑指 Offer II 091. 粉刷房子
![[paper notes] rethinking and improving relative position encoding for vision transformer](/img/6b/8b1c192e0ce715789465fa9ccaabfc.jpg)
[paper notes] rethinking and improving relative position encoding for vision transformer

Image segmentation based on deep learning: network structure design
随机推荐
剑指 Offer 07. 重建二叉树
Summary of four parameter adjustment methods for machine learning
QT animation loading and closing window
Simulating Sir disease transmission model with netlogo
Ten routing strategies for distributed task scheduling platform XXL job
Boost listening port server
Error com mysql. cj. jdbc. exceptions. Communicationsexception: solutions to communications link failure
剑指 Offer 05. 替换空格
[paper notes] contextual transformer networks for visual recognition
中国高校首次!全球唯一!同济学子斩获国际大奖
Start using markdown
The difference between sizeof and strlen
将一个文件写入到另一个文件的标记位置
Cross compilation correlation of curl Library
免费送书啦!火遍全网的AI给老照片上色,这里有一份详细教程!
Fishing detection software
Highly concurrent optimized Lua + openresty+redis +mysql (multi-level cache implementation) + current limit +canal synchronization solution
55 specific ways to improve program design (2)
Distributed token
GDB debugging
