Launch appium server from python script

Hi guys,

Who knows AppiumService module?

I am working on multitesting on real devices in parallel.

I would like to launch appium server from my python script.

I found some solution on stackoverflow:

There are obviously 2 ways:

  1. running a command from os
  2. Using a library AppiumService

I am interested in the 2nd one which looks cleaner. But the of this module is not very clear for me as I am a newbie.

I couldn’t find doc anywhere?

How can I pass the port and ip or other args to appium server. I need it for my multitest on parallele real devices ?

Thanks for your help


Thanks for info on starting server programmaticaly . Now it’s very interesting to me how to get process id of launched server. Can someone make a hint