Open mtancoigne opened 5 years ago
No problem, I'll try to fix this this week.
Hi !
For the arguments, do you prefer options
or keyword arguments ?
For html
, this was a mistake on my side in the README, it should have been false
. I set this option so one can save only image screenshots without breaking the way the library works today.
For the arguments, do you prefer options or keyword arguments ?
Well options because we still support older versions of Ruby, for now.
Hi! I think i'm ready with the changes.
I like to make custom screenshots for demonstration purpose, so this PR updates
screenshot_and_save_page
andscreenshot_and_open_image
with two additional parameters:prefix
andhtml
This is useful to differentiate screenshots from failures.