Fix selenium tests.