-
Notifications
You must be signed in to change notification settings - Fork 24
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
If you use double quotes as element locator, element methods in appcontainer-driver.js fails #67
Comments
Mind if I starting taking a look at escaping the quotes? |
@seoj - please feel free to start working on this and submitting a PR! :-) Thanks! |
For the eval() statements, instead of using eval() I was wondering if we could try something like this: window.frames[0].$('body').append('Appended from parent'); Much safer to use than an eval() and more explicit. |
For now decided to simply escape the quotes. Seems like the suggestion may be more impacting. |
msl-client-browser/ -Calls to jquery now escapes quotes before passing them to eval() function. -Added localized karma unit test for the new function -Added README.md -Fixed warning in package.json where "repositories" should've been "repository"
msl-client-browser/ -Calls to jquery now escapes quotes before passing them to eval() function. -Added localized karma unit test for the new function -Added README.md -Fixed warning in package.json where "repositories" should've been "repository"
When getting element via locator, if you use double quotes the method fails to return the object since we are not escaping double quotes. We can either make it a requirement to use single quote or handle double quotes.
The text was updated successfully, but these errors were encountered: