github seleniumbase/SeleniumBase v1.28.2
Use shutil.move() instead of os.rename()

latest releases: v4.26.1, v4.26.0, v4.25.4...
4 years ago

Use shutil.move() instead of os.rename()

  • This is used for downloading the selenium server and placing it in the correct directory

Although os.rename() and shutil.move() will both rename files, the command that is closest to the Unix mv command is shutil.move(). The difference is that os.rename() doesn't work if the source and destination are on different disks, while shutil.move() doesn't care what disk the files are on.

Don't miss a new SeleniumBase release

NewReleases is sending notifications on new releases.