title: Trying to get Inner Elements using chrome console javascript/jquery
body: <p>Hi I am trying to get Inner Elements using chrome console, but it throwing me an error , Here is my code snippet . Any Workaround will really help me to get elements and automate it. I have attached a screenshot of a common website</p>
  
  <p>When I do this I am getting the list of class element(i.e.swatches-wrap) as an Array.</p>
  
  <pre><code>$$(`.swatches-wrap`);
  </code></pre>
  
  <p>When I try this its throwing me an error <strong>Uncaught TypeError: $$(...)[0].$ is not a function</strong></p>
  
  <pre><code>$$(`.swatches-wrap`)[0].$(`.title`);
  </code></pre>
  
  <p>Here is the attached screenshot 
  <a href="https://i.stack.imgur.com/xNP81.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xNP81.png" alt="enter image description here"></a></p>