Open gregglind opened 6 years ago
THe screenshotting api i want looks more like this:
if ENV.screenshots=true or such:
Then I can do test runs that take screenshots at all the right times.
Listening for a custom event from selenium-webdriver
https://stackoverflow.com/questions/35884230/can-my-webdriver-script-catch-a-event-from-the-webpage
Conclusion: trying to signal FROM THE ADDON that 'you should take a screenshot' seems... weird and not right.
I think it's better to make that an explicit part of the script run. OR if you are running manual, it is on you to take screenshots.
"print all shield-study, shield-study-addon telemetry" is covered by https://github.com/mozilla/shield-studies-addon-template/pull/98/commits/30131749c6d23385e35083e8693dec15fbbefac1
Should run-firefox take screenshots? How often? Store them where?
Telemetry... should it print all shield-study, shield-study-addon telemetry? how to catch those?
Maybe it should screenshot every time there is a telemetry ping