Remove logging
Convert to lambda
Rename capture screenshot methods.