This should help...
Read down the thread because my initial approach in post #1 was simplified in post #2 (there is no need for the iframe driver)