You'd need to get the toolbar button (Do it via XPATH). Unfortunately since all the toolbar buttons use the same src, it might be hard. But you can try to do it by matching images with the alt text of the button you want. That will work for sure. Then just click and wait like normal
Re: Selenium web test