I suppose you have “Default wait for element timeout” to be 30 seconds.
Your WebUI.click() actually failed to find the element to click, waited for 30 seconds as specified in the setting, then returned. It took 31.218seconds.
WebUI.click()
Thank you very much, it helped <3