Open manpreet-compro opened 1 year ago
The in-flight PR should fix the resetting of the execution context. Not sure if it will solve all of the issues (i.e. a sleep 10
after a script step won't cause it to wait 10 seconds for that step to be recorded, it's just a pause before the next step).
Use Case: Perform some action in the iframe and then some action on main document
I referred the documentation https://docs.webpagetest.org/scripting/#setexecutioncontext for switching the execution context and followed the example code
Script:
Expected Action:
Error Faced No action captured after resetting the execution context. Results can be referred from https://www.webpagetest.org/result/230517_AiDcJ3_9W6/
Step 4 is not captured at all and there is no data