I am writing a selenium script by python, but I think I don't see any information about:
How to get http status code from selenium Python code. 
Or I missing something. If anyone found that, please feel free to post.
You can also inspect the last message in the log for an error status code:
print browser.get_log('browser')[-1]['message']
How to get status code by using selenium.py (python code)