title: XPath for Dynamic ID using Chrome Autoclick Extension
body: <p>I am using a google chrome autoclick extension to automate the process of making on online reservation.
  I'm stuck to get the Xpath of a button (for a dropdown menu), as the button has a dynamic ID/name... it changes everytime the page is refreshed or upon login.</p>
  <p>The dropdown menu button is to select a date, as shown in the screenshot attached further below.</p>
  <ol>
  <li><p>Below is the Xpath of the dropdown button :
  <code>//*@id=&quot;5w2imT08i9uNPm/x35RIp2m8nKDYx+SmrtQM6uCMVnmGMPYcxHzCZALFb8rdGUV1hiepClvWbHByeqjKwryZziHEG4F/w2UfhY2F8mlxosw=&quot;]</code></p>
  </li>
  <li><p>Below is the Element of the dropdown button :
  <code>\&lt;select name=&quot;5w2imT08i9uNPm/x35RIp2m8nKDYx+SmrtQM6uCMVnmGMPYcxHzCZALFb8rdGUV1hiepClvWbHByeqjKwryZziHEG4F/w2UfhY2F8mlxosw=&quot; onchange=&quot;javascript:setTimeout('__doPostBack(\'5w2imT08i9uNPm/x35RIp2m8nKDYx+SmrtQM6uCMVnmGMPYcxHzCZALFb8rdGUV1hiepClvWbHByeqjKwryZziHEG4F/w2UfhY2F8mlxosw=\',\'\')', 0)&quot; id=&quot;5w2imT08i9uNPm/x35RIp2m8nKDYx+SmrtQM6uCMVnmGMPYcxHzCZALFb8rdGUV1hiepClvWbHByeqjKwryZziHEG4F/w2UfhY2F8mlxosw=&quot; style=&quot;width:328px;&quot;&gt;</code>
  <code>&lt;option value=&quot;2020/11/27&quot;&gt;Fri, 27 Nov, 2020&lt;/option&gt;</code>
  <code>&lt;option value=&quot;2020/11/28&quot;&gt;Sat, 28 Nov, 2020&lt;/option&gt;</code>
  <code>&lt;option selected=&quot;selected&quot; value=&quot;2020/11/29&quot;&gt;Sun, 29 Nov, 2020&lt;/option&gt;</code>
  <code>&lt;option value=&quot;2020/11/30&quot;&gt;Mon, 30 Nov, 2020&lt;/option&gt;</code>
  <code>&lt;option value=&quot;2020/12/01&quot;&gt;Tue, 01 Dec, 2020&lt;/option&gt;</code>
  <code>&lt;option value=&quot;2020/12/02&quot;&gt;Wed, 02 Dec, 2020&lt;/option&gt;</code>
  <code>&lt;option value=&quot;2020/12/03&quot;&gt;Thu, 03 Dec, 2020&lt;/option&gt;</code>
  <code>&lt;select&gt;\</code></p>
  </li>
  </ol>
  <p>Can anyone please help me to figure out what Xpath should I use to automate the click of this button?</p>
  <p>I have tried to use the FullXPath but does not work.</p>
  <p>Thank you.
  <a href="https://i.stack.imgur.com/AkYiM.jpg" rel="nofollow noreferrer">enter image description here</a></p>