-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run JavaScript - passing a parameter does not work as described in docs #2139
Comments
Logging only supports a single parameter right now |
Gonna close this for now. Please feel free to reopen if that doesn't solve your problem. |
It does not solve the problem, now I tried with
checkText.js:
and result was: |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. |
Howdy @NikolaSimsic. I gave it a day before closing AND included a suggestion to reopen the issue if it didn't solve your problem. Your example doesn't follow the docs I linked. Needs to be:
|
This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue. |
Is there an existing issue for this?
Steps to reproduce
I am trying to pass the parameters to the javascript file exactly as it is described here.
This is the code:
And checkText.js:
Actual results
After the execution, result is without values being read:
║ Log messages:
║ out log
║
Expected results
It should be possible to pass the env values as a parameters to the js file.
About app
It is a native app, execution on Android device. But this does not matter for the case.
About environment
M1 MacBook Air arm64 macOS Sequoia 15.1.
openjdk 17.0.9 2023-10-17
OpenJDK Runtime Environment Homebrew (build 17.0.9+0)
Logs
Logs
Maestro version
1.39.1
How did you install Maestro?
Homebrew
Anything else?
No response
The text was updated successfully, but these errors were encountered: