How to set image threshold in Visual regression in Selenium?

How to set image threshold in Visual regression in Selenium?

Hello NoahSmith,

Please refer to the code snippet below:

let capabilities = {

  /*  ....Your Selenium capabilities go here */

  "smartUI.project": "<Your Project Name>" // Your Smart UI project name
  "smartUI.options": {
    "largeImageThreshold": 100 // The image threshold for comparison the min of 100 and max of 1200
  }
};