input: Write a python function to log the time spent in the browser.
  assert 'Time spent in browser log' in open('time_spent.log').read()
  assert len(open('time_spent.log').readlines()) > 2
output: def log_time_spent_in_browser(time_spent):
      with open('time_spent.log', 'a') as log_file:
          log_file.write(f'Time spent in browser log: {time_spent}\n')