Skip to content

Instantly share code, notes, and snippets.

@dmi3
Last active November 10, 2020 19:53
Show Gist options
  • Save dmi3/0f4d152e9940d94bd8251dd6daf8323e to your computer and use it in GitHub Desktop.
Save dmi3/0f4d152e9940d94bd8251dd6daf8323e to your computer and use it in GitHub Desktop.

"Super accurate" test to simulate web browsing behaviour:

  1. Brightness 50%, WiFi on, keyboard and mouse connected
  2. Open Chromium browser with 5 tabs:
    1. https://en.wikipedia.org/wiki/Special:RecentChanges
    2. https://hackaday.io/projects?sort=updated
    3. https://news.ycombinator.com/newest
    4. https://github.com/trending
    5. https://www.reddit.com/new/
  3. Type in terminal:
    • watch -n 60 "xdotool key ctrl+Tab && sleep 1 && xdotool key ctrl+F5"
  4. Switch back to browser (Chromium window should be focused)

This will simulate keyboard shortcuts to switch between tabs and refresh pages every minute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment