Implemented selenium json protocol in shell