在 Mac 中启动并运行 appium [英] Launch and run appium in Mac
问题描述
我刚刚按照以下链接中的说明安装了 Java 和 appium:
I just installed Java and appium as explained in the link below:
在 macOS sierra 10.12.3 上安装 appium
现在如何启动和运行 appium 以开始编写代码或测试?
Now how do I launch and run appium to start writing code or tests?
推荐答案
通过终端安装 appium 后,如上一个问题所述,您只需运行以下命令即可启动 appium 服务器:
After installing appium through the terminal as mentioned in your previous question, You can launch tha appium server simply by running the command as below:
appium
如果你想指定应该启动 appium 的特定端口,你可以在下面的命令中提到端口号.
If you want to specify particular port on which the appium should be started you can mention the port number as in below command.
appium -p 8056
这里 8056 是您要运行 appium 的端口号.要了解可用的各种命令和参数,请尝试以下命令
Here 8056 is the port number on which you want to run the appium. For knowing various commands and arguments available try the below command
appium help
这篇关于在 Mac 中启动并运行 appium的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!