In the current Code Capture version we can only "capture" actions in the Web Client.
In the Onyx tool we also had an option to run a script and capture that code.
Some of the advantages of such a feature would be:
- "see" what code is behind a cmdlet
- determine if a cmdlet "feature" is a bug or not
- learn from the PowerCLI Dev Team masters how APIs are used
Technically you should still be able to use Onyx for this. The architecture for Code Capture with the web client does not allow for this.