headless-chrome-crawler
headless-chrome-crawler copied to clipboard
Check for a non-null document before looking for links
I've ran into an error on a page containing frames where for some reason document
was being passed in as null. This check fixed the error.