Thank you for the question and the screenshot of the output.
It looks like there are two issues:
A panic occurs when the launch command is called.
Some internal data structures are not setup correctly, which causes the nil pointer dereference.
I’m not able to replicate the issue without seeing and testing your test script. Could you send me your test script pointing to a publicly accessible website so that we can try to reproduce the issue?