getMatchTimeout method
Use this method to retrieve the maximum amount of time Eyes will try to perform a match on the fully captured image.
If there is a mismatch, then Eyes will recapture and recheck the checkpoint until the timeout limit. This can help avoid mismatches in cases where the capture was done before the page was fully rendered.
Syntax
let configval = config.getMatchTimeout();
config.matchTimeout = configval;
configval = config.matchTimeout;
Note that this feature is available as both a method and a property.
Parameters
This method does not take any parameters.Return value
- Type: number