puppeteer / examples

Use case-driven examples for using Puppeteer and headless chrome

Home Page:https://developers.google.com/web/tools/puppeteer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lazyimages_without_scroll_events not possible to run for Mobile

oscard0m opened this issue · comments

NAME ABOUT
Feature Request Support for different devices (Smartphone, Tablet...)

Is your feature request related to a problem? Please describe.

When trying to validate an URL in its Mobile version is not possible to evaluate with the script lazyimages_without_scroll_events.js

Describe the solution you'd like

  • Would be nice to provide a flag to the command where the user can specify which device wants to load the url with
  • To keep Desktop as default behaviour is fine

Describe alternatives you've considered

Please describe alternative solutions or features you have considered.

  • maybe an interaction prompt where the user can choose the device?
  • user agent parameter instead?