<input type="submit" name="ccBtnBook" value="Book" id="ccBtnBook"
class="bookbtn2 flR" style="background-color:Transparent;border-
style:None;">
<input type="submit" name="ccRepItinerary$ctl00$ccLbtnSelect" value="Book"
id="ccRepItinerary_ctl00_ccLbtnSelect" class="bookbtn2" style="background-
color:Transparent;border-style:None;">
<input type="button" value=" Book " class="bookbtn2" onclick="iSB('1')">
<input type="button" value=" Book " class="bookbtn2"
onclick="iSB('4','MCT','DXB','DXB','MCT','True')">
<input type="button" value=" Book " class="bookbtn2"
onclick="iSB('1','MCT','DXB','','','False')">
<input type="button" value=" Book " class="bookbtn2" onclick="iSB('4')">
I have tried using the class name and xpath, but failed for both. I even tried to use a JavaScript click.
For case two finding the element by its ID works.