Currently my python script (which uses 'Spynner') has a loop which contains:
browser.load(url)
time.sleep(5)
browser.snapshot().save('example.png')
...but the problem is that every time the loop cycles it overwrites the previously stored image with an image of the newly rendered URL (the URL changes each time the loop is run) instead of making a new image, separate from the previous one. I have created a count but for some reason:
browser.snapshot().save((count)'.png')
doesn't seem to work. How do you use a defined count as part of a filename with .save?
Thanks