Skip to content

Set headless browser language from fetch configuration #1190

@Ndpnt

Description

@Ndpnt

Currently, only the HTTP Accept-Language header uses the language defined in the fetcher configuration.
However, the headless browser itself is not updated to reflect this setting.

This can lead to cases where the requested page does not fully respect the configured language, since some sites rely on the browser’s reported language rather than just the request headers.

The solution is to extend the fetch configuration to also update the headless browser’s language settings (navigator.language, navigator.languages).

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