Open ghost opened 7 years ago
@kevva I just approached very same problem.
From what I investigated, problem is that screenshot is grabbed immediately after script
invocation (delay
option is used for prior logic). Therefore if script action demands some time to propagate (as e.g. click), then there's no chance to achieve the effect.
I can propose as PR with w e.g. scriptDelay
option, that will force eventual delay between script evaluation and screenshot grap. Let's just first agree that's best solution for that (?)
Hi,
I would like to click a button before capturing the screen which I add a script option as follows:
but it doesn't work. I tried to change the delay time, put it into different part of the script like in src or run but doesn't work too. Would you please help on this?