new code with selenium