mphuie + python   31

How to download a file using the remote selenium webdriver? - Stack Overflow
def get_file_names_chrome(driver):
if not driver.current_url.startswith("chrome://downloads"):
driver.get("chrome://downloads/")
return driver.execute_script("""
return downloads.Manager.get().items_
.filter(e => e.state === "COMPLETE")
.map(e => e.file_url);
""")
selenium  python  download  remote  file 
11 weeks ago by mphuie

Copy this bookmark:



description:


tags: