Region():find()
Pour effectuer une recherche d'image ou de texte dans la région. Si l'image ou le texte est trouvé, retourne un MatchResult
, sinon retourne nil
Signature
find(template: string): MatchResult | nil
find(template: string, params: FinderParams): MatchResult | nil
find(template: string, timeout: number, params: FinderParams): MatchResult | nil
Retourne
MatchResult
ou nil