How to pass processArgument using driver.executeScript("mobile: installApp", args) #19869
Unanswered
deepakarorawins
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Do you say https://appium.github.io/appium-xcuitest-driver/latest/reference/execute-methods/#mobile-launchapp ? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@mykola-mokhnach @imurchie
#9659
As mentioned in above link we can set processArgument using capability, is there any way we can pass processArguments using executeScript commands?
Why?: We need to pass processArgument which is working fine when driver initialized first. then on executeScript it loose that process argument.
getDriver().executeScript("mobile: removeApp", args);
getDriver().executeScript("mobile: installApp", args);
getDriver().executeScript("mobile: activateApp", args);
Beta Was this translation helpful? Give feedback.
All reactions