I am using lwp::useragent to extract the source code from the web page. while extracting the source code, we need to wait/delay for few seconds, as we are using on-load event to load the page.
Is there any option to wait for few seconds to load the page fully before extracting the source code through lwp ? Or any other method to do this ?