当前位置:网站首页>Start appium

Start appium

2022-06-23 07:45:00 Luohanxiang

Link to the original text :

Appium Start the service using command line mode _java2013liu The blog of -CSDN Blog _ Command line start appium service

1. A simple example , No parameters specified :

Command line Input in :appium

first line : Welcome to use Appium, edition v1.6.5

The second line :Appium Successful launch , start-up ip Is the default 0.0.0.0, Port is the default 4723; Default means “ Don't specify ” Under the circumstances ;

2. Specify some parameters

Enter... On the command line :appium -a 127.0.0.1 -p 4723 --session-override

 

-a  It is specified to listen ip( It can also be written as  --address), Back “127.0.0.1” It can be changed to what you need ip Address ;

-p  Is the specified listening port ( It can also be written as --port), You can also change it to the port you need ;

--session-override  It refers to... Before covering session;

3. Commands commonly used in practical work

Enter... On the command line :appium -a 127.0.0.1 -p 4727 -bp 4728 --chromedriver-port 9519 -U xiaomi --session-override

 

-bp  Is the connection Android equipment bootstrap Port number , The default is 4724( It can also be written as --bootstrap-port)

--chromedriver-port  yes chromedriver The specified port number is required for operation , The default is 9515

-U  Is the name of the connected device , Such as "adb devices" Acquired device id ( It can also be written as --udid)

 

 

原网站

版权声明
本文为[Luohanxiang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206230700543782.html