selenium javascript pop up code example Example: selenium how to automate javascript dialogs webDriver.switchTo().alert()