title: By is not a function in selenium nightwatch
body: <p>I could not use the default By commands in selenium. Below is my script</p>
  
  <pre><code>driver.findElement(By.xpath("//*[@id='lotstatus_q']/div/table/tbody/tr"));
  </code></pre>
  
  <p>my script is failing and the result is this:By is not a function</p>
  
  <p>is there any other items that I need to install?</p>
  
  <p>All other By commands are not functioning.</p>