Skip to content
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

fix: update Java recorder syntax for executeScript #1161

Merged
merged 1 commit into from Oct 31, 2023

Conversation

eglitise
Copy link
Collaborator

This PR fixes the Java recorder syntax for executeScript, where Map.ofEntries was incorrectly called with the parameter syntax of Map.of. Now the parameters are being passed correctly.
It is important to use Map.ofEntries, because Map.of is limited to 10 key-value pairs, and some extension methods support more than 10 parameters.

@eglitise eglitise added the fix This resolves a user-facing problem label Oct 31, 2023
@jlipps jlipps merged commit 31c8eae into appium:main Oct 31, 2023
5 checks passed
@eglitise eglitise deleted the fix-java-executescript branch October 31, 2023 21:57
shiva-guntoju pushed a commit to shiva-guntoju/appium-inspector that referenced this pull request Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix This resolves a user-facing problem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants