Steps to reproduce:
- Add a Define Element Selector action.
- Use the UI in the action's parameters to build a selector and save it to a variable.
- Add a Click action (or any other action that requires a selector).
- Configure the Click action so that it uses the variable with the selector.
- Convert the test to JavaScript.
The resulting JavaScript code is invalid.