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

Can I specify the test on mobile only #174

Closed
macnux opened this issue Dec 10, 2020 · 2 comments · Fixed by #183
Closed

Can I specify the test on mobile only #174

macnux opened this issue Dec 10, 2020 · 2 comments · Fixed by #183
Assignees

Comments

@macnux
Copy link

macnux commented Dec 10, 2020

Hi,

Can I specify the test on mobile only?
Also, is it possible to exclude a specific directory or amp pages when crawling?

Regards,

@TGiles
Copy link
Owner

TGiles commented Dec 17, 2020

Hi macnux, currently there is no way to tell auto-lighthouse to run mobile only. This would be a small enhancement and so I'll look into writing a PR for that.

As for your second point, there is no way to exclude a specific directory from auto-lighthouse's point of view. The only way to modify the crawling behavior is to set the --respectRobots flag to false, but that will just ignore robots.txt (which is probably not what you want to do). I'm not sure if using the emulated mobile form factor will trigger amp pages or not, that's a good question.

@TGiles TGiles self-assigned this Dec 23, 2020
@TGiles
Copy link
Owner

TGiles commented Dec 23, 2020

Hi @macnux, if you're still interested in the amp pages question, feel free to open up a new issue!

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

Successfully merging a pull request may close this issue.

2 participants