title: How to get the xpath for menu in sidebar
body: <p>I have to click on the <code>Manage Orders</code> option in the side bar menu. I tried with the xpath from firepath, but it is not working. Below is the code:</p>
  
  <pre><code>&lt;div id="sidebar" class="navbar-collapse collapse"&gt;
      &lt;ul class="nav nav-list" style="height: auto;"&gt;
          &lt;!-- BEGIN Search Form --&gt;
          &lt;li&gt;
              &lt;!-- END Search Form --&gt;
              &lt;li class="active" data-slug="dashboard"&gt;
                  &lt;li data-slug="order"&gt;
                      &lt;a class="dropdown-toggle" href="#"&gt;
                          &lt;i class="fa fa-shopping-cart"/&gt;
                          &lt;span&gt;Manage Orders&lt;/span&gt;
                          &lt;b class="arrow fa fa-angle-down"/&gt;
                      &lt;/a&gt;
                      &lt;ul class="submenu" style="display: block;"&gt;
                          &lt;li data-slug="promocode"&gt;
                              &lt;a class="dropdown-toggle" href="https://bq.training/cp/promocode"&gt;
                                  &lt;span&gt;Promo Code&lt;/span&gt;
                              &lt;/a&gt;
                          &lt;/li&gt;
                          &lt;li data-slug="transaction"&gt;
                              &lt;a class="dropdown-toggle" href="https://bq.training/cp/order/list-order"&gt;
                                  &lt;span&gt;Order Summary&lt;/span&gt;
                              &lt;/a&gt;
                          &lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/li&gt;
  </code></pre>