Skip to content

Unable to override dark mode #118

@kamilmm21

Description

@kamilmm21

I’m not sure if this is a bug with this library or actually with Camoufox, but I can’t find a way to override dark mode in Camoufox.
I’ve tried passing different Firefox user preferences, but none seem to have any effect (for example: ui.systemUsesDarkTheme or layout.css.prefers-color-scheme.content-override).

I’m experimenting with Camoufox for screenshot comparison, so I’m trying to ensure that the screenshots look identical when nothing has changed. Hopefully, there’s a solution for this that doesn’t require forking the entire Camoufox project.

By the way, thanks for building this port - well done!

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions