updated to use latest selenium