Thanks for your response.
I might not have
been completely clear, but the button is at a fixed position 90% of the
time. When it diverts i click it manually or not at all. that's fine.
The
'4 point for each'-is to check several points of the button; when 3 of 4
checks match certain color and brightness -> the button is there.
Screenshot block the main bottleneck, other things go fine
I've
run it more times now and it's working fine, except for the block
taking the screenshot; that takes near 3 seconds.. which seems to be the
only way to use ocr or image sample color(??!)
I hope there is something that can be done (on my side or otherwise..?) to speed that up.., or if there is a work-arround.
NOTE: the screenshot seems to be taken, but for the flow to continue it takes longer. Which sometimes results in the flow being behind on reality;
- *Button is present at the time of the screenshot,
- then 2-3 seconds later the next blocks run.
- =>At that point the button can already be gone on screen, but the screenshot still sees it, so it initiates a click
So might not be the screenshot taking long, but something else in that block?
Xpath [interact block?]
I cannot use xpath, since it's a custom draw interface [so it seems];
inspect returns a near blank xml, except for some general android stuff i
think -Or i am not doing it correctly, that is also a possibility-.
(else
i would have used that ['interact'-block] and left the screenshot,
load img etc out of it.. would have saved a lot of ""coding"").
OCR
Besides that; if there is an OCR block that requires taking a screenshot.. i would expect that block to perform as well? :).
"Reading the screen directly no longer possible" => due to new security in android in the higher versions?
Thanks once again for the response. Hope a deeper dive is possible ☺
Op woensdag 12 augustus 2026 om 16:10:48 UTC+2 schreef Henrik "The Developer" Lindqvist: