title: How to solve the error "Not a valid XPath expression"
body: <p>In selenium on Java, im try to find an element and select it on a webpage but it keep getting the error:</p>
  
  <pre><code>The string '//*[@id='app']/article/div[2]/section/div[1]/div[5]/div/section[2]/div[2]/div[1]/' is not a valid XPath expression. 
  </code></pre>
  
  <p>How can I get it at all??</p>