I am facing an issue with a popup window on a webpage where I need to interact with the "Next" and "Cancel" buttons. Despite my efforts to find the CSS selectors, I have been unable to locate and click on these buttons. When I used Firebug to inspect the elements, here is what I found while hovering over the Next and Cancel buttons:
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
<div class="ui-dialog-buttonset">
<button class="ui-button ui-widget ui-state-default ui-corner-all
ui-button-text-only" type="button" role="button" aria-
disabled="false">
<span class="ui-button-text">Next</span>
</button>
<button class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" type="button" role="button" aria-disabled="false">
<span class="ui-button-text">Cancel</span>
</button>
</div>
</div>