Bug 959027 - [UITest] Fix window.close() button