Can this solution be applied for Selenium WebdriverJavaScript? I have the same query, but cannot pulled it out 😔