some refactor selenium tests