title: How to create element's Xpath using different search ( cssSelector / tag / ClassName )
body: <p>I would like to find an element using a differect cssSelector / tag  / ClassName amd them get it's xpath value ( to be more specific, I have a website where when a day changes, one of the classes change it's class) here is what do I meean:</p>
  <pre><code>&lt;tr&gt;
  &lt;td&gt; 1.1.2019 &lt;/td&gt;
  &lt;td&gt; 2.1.2019 &lt;/td&gt;
  &lt;td class=&quot;active&quot;&gt; 3.1.2019 &lt;/td&gt;
  &lt;td&gt; 4.1.2019 &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt; &lt;/td&gt;
  &lt;td&gt; 10 &lt;/td&gt;
  &lt;td&gt; &lt;/td&gt; #Here
  &lt;td&gt; &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  <p>I want to according to where is that &quot;active class&quot;, click the table under it. ny idea how to do so ?</p>
  <p>short version of what I want :</p>
  <blockquote>
  <p>Find element using cssSelector</p>
  <p>Get this element's Xpath &lt;- the problem</p>
  <p>click it using edited xpath</p>
  </blockquote>
  <p><strong>I want to GET XPATH OF LOCATED ELEMENT , not to locate it using Xpath</strong></p>