Added helper methods to selenium tests.