Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

129
Vistas
Webdriverio iOS restart app with processArguments

I have iOS app which implemented UI testing with Appium. And when I want to restart app with this code, processArguments are lost. Could anyone tell me how to restart app without losing processArguments or pass processArguments when restart app?

await driver.terminateApp(bundleId);
await driver.activateApp(bundleId);
about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

We need to pass arguments in drvier.execute function. Here's the solution.

const restartApp = async () => {
  await driver.terminateApp(bundleId);
  const processArgs = ['--mock-fes-api', '--mock-attester-api']; // your process arguments
  const args = {
    bundleId, // your bundle id
    arguments: processArgs
  }
  await driver.execute('mobile: launchApp', args);
}
about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda