Taking screenshots on every Action
githubist16 opened this issue · 2 comments
githubist16 commented
Is there a custom way to take screenshots on every earlgrey action or rather navigation. I am developing tests that would capture every page visited by scripts and was wondering if earlgrey had mechanisms similar to Selenium's WebDriverEventListener allowing me to capture screenshots after certain events
Or really any guidance on this issue without having to manually screenshot at strategic points
githubist16 commented
Added workaround in my test suite. This might still be an interesting ask for someone else out there, but implemented a solution on our test suite level above the EG level
tirodkar commented
You could add a grey_snapshot() call to your EG statement to do this as well.