I am trying to download some files from a website using selenium chromewebdriver. while I am calling the function "get_downloadable_files()", it shows that "WebDriver" has no attribute called "get_downloadable_files()".
NB: I am using selenium inside docker. Selenium v4.12.0.
def init_driver():
chrome_options = webdriver.ChromeOptions()
chrome_options.enable_downloads = True
remote_url = "http://localhost:4444/wd/hub"
driver = webdriver.Remote(command_executor=remote_url,options=chrome_options)
return driver