Skip to content

A program to test the responsiveness of websites

Notifications You must be signed in to change notification settings

TomRomeo/goresp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goresp

A program to tests the responsiveness of websites :)

By default it will take screenshots of your specified website in the following formats:

  • 1920x1080
  • 3440x1440
  • 390x844
  • 1024x600

But you can also specify custom resolutions

How to install

In your terminal, type:

go install github.com/TomRomeo/goresp/cmd/goresp

You can now use the goresp command, try goresp -h.

Before you can start with the action though, you will have to install the correct version of selenium standalone server and the correct version of the chrome-driver.

After downloading both, point to them by setting the environment variables SELENIUM_PATH and CHROME_DRIVER_PATH

Now, you are ready for the action!

How to use

If you want to take screenshots of <url>:

goresp -o ./output <url>

If you want to take scrolling screenshots of <url>:

goresp -f -o ./output <url>

If you want to take screenshots in custom resolutions

goresp -r "1x1" -r "1200x1200" -o ./output <url>

If you want to take screenshots after a delay (in seconds)

goresp -d 2 -o ./output <url>

About

A program to test the responsiveness of websites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages