thug icon indicating copy to clipboard operation
thug copied to clipboard

[Feature] Enable Screenshoting via Plugin

Open MaxwellDPS opened this issue 1 year ago • 3 comments

Would like to be able to roll selenium todo screenshots and dont want to have to tap into the main code base for this.

Screenshots can be done in post by using the loggers methods from the plugin, but would be nice to have this more inline

MaxwellDPS avatar Nov 06 '24 20:11 MaxwellDPS

Hey @MaxwellDPS,

I’m really eager to dive into this project. Could you share your insights on the best way to move forward? Your guidance would be greatly appreciated!

Sneharaj7645653 avatar Nov 27 '24 13:11 Sneharaj7645653

Howdy @Sneharaj7645653

I was able to replace the screenshot code inplace with selenium, and I was also able to implement it as just a plug-in but if it's just a plug in you're only going to get a screenshot of the main page, as right now I can find a mechanism to screenshot multiple Pages through the plug-in without parsing through all the analysis data

The other piece, is the browser profile and proxy you'll have to configure in selenium driver in that code.

MaxwellDPS avatar Nov 27 '24 14:11 MaxwellDPS

Sorry to jump in the discussion so late but this is a quite busy period for me. The approach you are using looks really interesting to me and we could even think about implementing it inline as an alternative to the current implementation and making both of them available. If you share your prototype (in a PR?) I would be glad to help and assist. Thanks!

buffer avatar Nov 30 '24 07:11 buffer