can you get a text of a javascript pop up using selenium code example Example: selenium how to automate javascript dialogs webDriver.switchTo().alert()