Update selenium versions and remove usage of internal libraries