I would like to click a button of a webpage within a web browser.
I know I can do this when I have the Id/Class from the button but I don't have the Id/Class in this case (or it is the same for all buttons).
<form action="" method="POST">
<button class="btn btn-default btn-sm btn-block" type="submit" name="option" value="0">Button 1</button>
<button class="btn btn-default btn-sm btn-block" type="submit" name="option" value="1">Button 2</button>
<button class="btn btn-default btn-sm btn-block" type="submit" name="option" value="2">Button 3</button>
</form>
Lets say I would like to click Button 3. How can I do this?