hi sir am unable to locate a object with span tag tried this box.findElement(By.xpath("//*[contains(@span,2)]")).click(); n box.findElement(By.xpath("//*[contains(@span,'2')]")).click(); firepath gives me this :<span class="cwbts">2</span> what do i change in xpath? -------------------------------------------- //my code