linkedin-jobs-scraper icon indicating copy to clipboard operation
linkedin-jobs-scraper copied to clipboard

TargetCloseError: Protocol error (Target.closeTarget): Target closed

Open henrykash opened this issue 1 year ago • 5 comments

when running the example am getting the above error how do I overcome the error ?

henrykash avatar Aug 02 '23 21:08 henrykash

I am also getting the same error. Have you resolved the issue?

iraunit avatar Oct 25 '23 13:10 iraunit

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: @.***>

henrykash avatar Oct 25 '23 17:10 henrykash

Please tell me the process or the complete code and the steps to achieve that.

iraunit avatar Oct 25 '23 17:10 iraunit

im also getting the same issue could you tell me how to resolve

kantae02 avatar Nov 17 '23 11:11 kantae02

    const scraper = new LinkedinScraper({
        headless: true,
        slowMo: 200,
        args: [
            "--lang=en-GB",
        ]
    });

changing headless from 'new' to true fixed it for me

skelet00r avatar Dec 25 '23 03:12 skelet00r