I am using Selenium Web driver version 2.48.2.
My issue is that I want to wait for the very last url to be loaded and then take my screen shot and close the browser and driver.
So if I debug the session, I can see all my methods being called immediately, not waiting for the browser to load up, this is a problem because If I have my Quit() method on the last line of code the browser closes immediately, and doesn't run through each step in time.
If I remove the Quit() method, the browser runs through all my scenarios as expected.
So is there a way to have the driver wait until the browser is finished actioning all my steps?
Any help is much appreciated.