Closed sbabcoc closed 2 years ago
The pm2
process manager appears to do what I need. To use this node
module, I need to use the same technique I currently employ for running the npm
module, so a bit of refactoring on AbstractAppiumPlugin is in order.
In the research I've done so far, it appears that LifecycleServlet doesn't actually do anything to stop the appium
server. I'll need to use pm2
to kill the process instead.
One thing to figure out is if there's some way to suppress the windows that pop up when running appium
within the context of pm2
.
Apparently, another option besides pm2
would be to run the node inside a Docker container. This is another install and another learning curve, though.
Resolved by #232
Currently, the command line used to launch
appium
nodes for local Grid instances are executed in the current process. This works for the Java-based nodes, because the GridLauncherV3 class spawns a separate process for these servers. Forappium
, I need to take care of this myself.