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
arguments undefined in executeScript() #196
Comments
anybody tried it so far ? i am still getting the same |
Looking at this very briefly, it looks like the arguments need to be provided in a key=>value pairing. Take a look at the prepareScriptArguments() function at line 234 of lib/remote/RemoteWebDriver.php. Someone else may be able to speak more to this. |
What is the platform/browser you were using? |
@whhone well i am using with the following environment OS Browser Selenium Server 2.44.0 and this simple line is giving me the @gabrielpreston no it's just checking if the |
No response from anyone yet on this issue |
Closing this as it doesn't appear to be widespread, and does not have a clear reproduction. Since it was working for you and then stopped, and is working for others, I lean towards thinking this is a problem with your setup. Thanks. |
dont know if others are also having this problem but i am getting
undefined
for the argumentssee below code
echo $myBrowserDriver->executeScript('return alert(arguments[0])',array('john','don'));
please look into it
regards,
Omer Aslam
The text was updated successfully, but these errors were encountered: