Interview Question
you should use wait statement.
We can also check if the button is enabled or not.OrCheck if it is in frame, then we have to switch to frame before clicking it.