question: public static void clickButtonByLabel ( String text ) { if ( verbose ) { log ( "clickButtonByLabel(" + text + ")" ) ; } Button b = ( Button ) findLabelText ( text ) ; waitFor ( 20 ) ; b . pressed ( ) ; waitFor ( 20 ) ; b . released ( ) ; waitFor ( 20 ) ; }
target:  Clicks the button with the given label