If the popup window has a name like, opening from javascript window.open(URL, name), then its possible to add a command to check the content of popup. Similar to: waitForPopUp | winId | 30000 selectWindow | winId ... close
However, if there is no name for the window like, opened from <a target="_blank"> then you are out of luck.