reload image dynamically
I am updating images on the fly like this:
import shutil
image = "image.png"
click(image)
new_image = capture()
spot= getBundleFolder
shutil.
click(spot)
Is there a way to reload/
[debug] Image: loaded: notFound.png (file:/
[debug] Image: cached: notFound.png (524 KB) (# 1 KB 524 -- 0 % of 64 MB)
[debug] Image: reused: notFound.png (file:/
I realize click(new_image) works, but I'm more interested in using a string for the click spot, but I need it versitile enough to use whatever strings can be used to define the parameters of click (i.e. Pattern(
).
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: