Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromium options for tests #232

Open
jeremieP opened this issue Nov 23, 2020 · 0 comments
Open

Chromium options for tests #232

jeremieP opened this issue Nov 23, 2020 · 0 comments

Comments

@jeremieP
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant