while True:
for request in driver.requests:
if request.url == URL:
response = request.response
if response is not None:
response = decode(response.body, response.headers.get('Content-Encoding', 'identity')).decode('utf-8')
print(response)
driver.quit()
exit(0)
time.sleep(1)
Would help for instance OC3K /home/benjamin/notifications/notifyOnFedExUpdate.py.
Would help for instance OC3K
/home/benjamin/notifications/notifyOnFedExUpdate.py
.