refactor(automation): remove browser automation, use OS-level automation only
This commit is contained in:
@@ -71,7 +71,7 @@ export class TemplateMatchingService {
|
||||
template.searchRegion.width,
|
||||
template.searchRegion.height
|
||||
);
|
||||
foundRegion = await screen.findRegion(templateImage, searchArea);
|
||||
foundRegion = await screen.find(templateImage, { searchRegion: searchArea });
|
||||
} else {
|
||||
// Search entire screen
|
||||
foundRegion = await screen.find(templateImage);
|
||||
|
||||
Reference in New Issue
Block a user