[Bug 881476] Add selenium.
[Bug 881476] Add selenium testcase and a test.