getMatchTimeout method

Class: EyesPlatform: ProtractorLanguage: JavaScript SDK:

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. The default timeout can be set by the setMatchTimeout method.


let value = eyes.getMatchTimeout();


This method does not take any parameters.

Return value

Type: number