Add selenium tests, autofocus the textarea

This ensures that the textarea starts with focus. Again this was done
using TDD, but without separate commits.