build browser client with custom script
follow headwaiter url changes and add ability to close a session