Skip to content

Chromium options for tests #232

@jeremieP

Description

@jeremieP

Documentation Feedback

I don't see how to configure the Chromium options for my tests, with the Falco interface :
Capture d’écran 2020-11-23 à 14 26 26

For my example, I try to set the mobile emulation for some tests.

Maybe it's already possible, but I don't see how to do it.
Scripting don't seems to let me set those options.

With mobile emulation (Samsung Galaxy S7 value) the difference on the WPT options for the agent seems to be :

mobile=1
lighthouseTrace=1
throttle_cpu=2
dpr=4
width=360
height=511
orientation=default
uastring=Mozilla/5.0 (Linux; Android 4.4.4; Android 6.0.1; SM-G930F Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.110 Mobile Safari/537.36

I can use setUserAgent / setViewportSize but I don't know how to setup CPU throttling for example.
Maybe those options can be on the Project Audit Parameters ?

If you know, help would be awesome and I will be able to write some docs about it, and maybe submit a PR.

Thanks!

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