question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feat]: Is it possible to pass the arguments via the Appium?

See original GitHub issue

Is it possible to pass the arguments via the Appium? I can pass arguments via the Xcode, but I want to be able to pass the arguments via the Appium. I tried to use the processArguments, but it isn’t working.

Screen Shot 2022-11-06 at 16 38 50

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Nov 6, 2022

processArguments is the only possible way to send arguments to an app under test. I cannot help further without logs and other necessary details. is not working is not very helpful thing to investigate.

0reactions
andrew-clearcommented, Nov 7, 2022

This solution helped me https://discuss.appium.io/t/how-to-pass-ios-launchoptions-in-appdelegate-from-appium/32610/4

“appium:processArguments” via ProcessInfo.processInfo.arguments or ProcessInfo.processInfo.environment not the launchOptions in the didFinishLaunchingWithOptions: function. https://developer.apple.com/documentation/foundation/processinfo 22

Dev team fixed thanks @KazuCocoa @mykola-mokhnach

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to pass arguments to the mobile application via appium?
The only way I can think to do this is to use the appium “push file” operation to send a file to the...
Read more >
Having problems with Appium executing perform() - Support
But I'm using the public class TouchAction from the package io.appium.java_client… But still the error is from the org.openqa.selenium. Not sure where that ......
Read more >
CLI Arguments - Appium
Flag Default Description ‑‑shell null Enter REPL mode ‑‑ipa null (IOS‑only) abs path to compiled .ipa file ‑a , ‑‑address 0.0.0.0 IP Address to listen on...
Read more >
How to pass the additional emulator arguments in Appium 1.3 ...
I would like to run the emulator through appium, but it fails. But the emulator is visible in the Appium Launch AVD drop-down...
Read more >
Appium Book-v0.9.1.pdf - State of Test Automation 2020-2021
Making the Move to Automation Testing with Appium — 1st ed. ISBN Pending ... Chapter-7: Developing a Test Automation Framework for Appium using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found