I want store list of files path (image,video) in an array or a list.
Then I would like to choose any one path randomly, for uploading it.

Is it possible to do using selenium web-driver and python?

How can I randomly fetch one file from the directory?