linkedin-jobs-scraper
linkedin-jobs-scraper copied to clipboard
TargetCloseError: Protocol error (Target.closeTarget): Target closed
when running the example am getting the above error how do I overcome the error ?
I am also getting the same error. Have you resolved the issue?
yes I was able to resolve it
On Wed, Oct 25, 2023 at 4:18 PM Raunit Verma @.***> wrote:
I am also getting the same error. Have you resolved the issue?
— Reply to this email directly, view it on GitHub https://github.com/spinlud/linkedin-jobs-scraper/issues/45#issuecomment-1779257618, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJLLII3IZHH4J37LPYTHX4TYBEGRBAVCNFSM6AAAAAA3B4DOVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGI2TONRRHA . You are receiving this because you authored the thread.Message ID: @.***>
Please tell me the process or the complete code and the steps to achieve that.
im also getting the same issue could you tell me how to resolve
const scraper = new LinkedinScraper({
headless: true,
slowMo: 200,
args: [
"--lang=en-GB",
]
});
changing headless
from 'new'
to true
fixed it for me