title: Protractor: How to return element by executing js script?
body: <p>I have the goal to return drop-down list of elements. I tried to do this with protractor's methods, but I hadn't found easy ways for searching isolate-span elements.
  On that reason I want to use javasript code:</p>
  
  <pre><code>var my_js_element = browser.executeScript(jQuery("td.ng-binding&gt;div.b-combobox.ps-list-drop-single-autocomplete.ng-isolate-scope.ng-pristine.ng-required.ng-invalid.ng-invalid-required").isolateScope().psListDrop.toggleVisible(true).element);
  </code></pre>
  
  <p>But it isn't working. And I'm not sure that I can return elements with this method. Is it true? Or maybe somebody know how I can do this?</p>