save_diffs property

Class: EyesPlatform: Selenium 3Language: Python SDK:

Use this property to set and retrieve if steps that have mismatches should be automatically saved to the baseline or not.

In the usual workflow, if Eyes finds mismatches, you use the Test manager to view the mismatches, accept or reject the steps with mismatches, and then update the baseline with the images captured in the accepted steps. This method allows you to instruct Eyes that where steps have mismatches, or where there are new or missing steps, the corresponding steps in the baseline should be updated with the images captured in this run of the test.

Using this method completely overwrites your baseline. It is preferable to see the results in the Test Manager and, if necessary, to accept all differences there. If you do use this method, remember to remove the call to this method once the baseline is ready for use in the normal way.

Syntax


eyes.save_diffs  = value # type is bool
value = eyes.save_diffs

Type:bool

If this has a value of true, then the baseline will be updated with checkpoints that have mismatches.