added selenium support