Improve selenium test.