updated changes for selenium