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

Add module for taking screenshots of renderable outputs #3

Merged
merged 19 commits into from
Jan 8, 2020

Conversation

hdoupe
Copy link
Contributor

@hdoupe hdoupe commented Sep 18, 2019

This adds the ability to take screenshots of renderable outputs. For context, checkout compute-tooling/compute-studio#208. It works surprisingly well. The trick for getting the screenshot to capture the right area of the page was to find the bounding box for the responsive Bootstrap "card" that contained the result. Here are some sample screenshots:

Aggregate Results html
Basic Liabilities html
Calculation of Liabilities html
Tables html
Tax Credits by Wage (Holding Other Inputs Constant) html
Tax Liabilities by Wage (Holding Other Inputs Constant) html
Tax Rates by Wage (Holding Other Inputs Constant) html
template html

@hdoupe hdoupe merged commit 55d9fb4 into master Jan 8, 2020
@hdoupe hdoupe deleted the add-screenshot branch January 8, 2020 17:07
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 this pull request may close these issues.

1 participant