added for selectMenuItem & click action: waiting till document ready