One more quick question, after sending the submit button, I need to wait for the page to load before extracting some data. I have a wait_for_page_load function but it still seems to be performing the actions before its fully loaded. I tried the thread.sleep function, but it doesn't seem to be helping.