Skip to content

Scraper with Selenium config behaves differently with or without headless option #65

@retdop

Description

@retdop

Crawling/Testing not working with that config.

screenshot from 2019-02-20 18-18-44

The xpath doesn't seem to find any element.
screenshot from 2019-02-20 18-20-31

Crawler is working when I comment options_selenium.add_argument('headless') in masterspider.py line 101.

This is very weird as chromedriver is supposed to behave identically with or without headless.

PagesJaunes is known to have implemented scraping protections . This may be related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions