I used codeception recorder to make screenshots of third-party windows, e.g Facebook, Google+ authorization pop-ups
In 50% cases I get error logs which are saying that system couldn't make a screen in case, and It was at the moment of appearing an authorization pop-up
An in other 50% cases codeception cannot run tests steps after It didn't pass the step of making screen
Setup is very simple, I just enabled recorder in config file via the offical documentation
Yep, the recorder extension is pretty simple and I didn't try this on such heavy cases.
Sorry I don't think I will improve it to work for this things. If you know how you can improve it, please send PR
Found this issue -> #2209, that's exactly my case and almost the same errors.
Think there is no possible solution at the time