I have started using jQuery and jasmine to automate webpage testing.
From what I understand, by calling $( document ).ready()
would make sure that a webpage would finish loading.
But for the webpage I am testing, after $( document ).ready()
returns, the background image of the webpage is still not loaded.
Did I mis-interpretate the definition and purpose of $( document ).ready()
?