def generate_screenshots(self):
headers = {'<STR_LIT>': '<STR_LIT:application/json>', '<STR_LIT>': '<STR_LIT:application/json>'}<EOL>resp = requests.post(self.api_url, data=json.dumps(self.config),headers=headers, auth=self.auth)<EOL>resp = self._process_response(resp)<EOL>return resp.json()<EOL>
Take a config file as input and generate screenshots