I just guess that WebUI.click() is not working. WebUI.click() is sometimes faulty. Why not you try clicking the element using JavaScript?