Function: clickObjectPageButton()
clickObjectPageButton(
page,buttonName,options?):Promise<void>
Defined in: src/fe/object-page.ts:196
Clicks a button in the Object Page header actions or footer bar.
Parameters​
page​
Page to evaluate on.
buttonName​
string
Text label of the button.
options?​
Optional timeout and stability settings.
Returns​
Promise<void>
Throws​
ControlError if the button is not found.
Example​
await clickObjectPageButton(page, 'Edit');