1. write logs to file method created
2. take screenshot method modified