I am trying to use Selenium in Python to save webpages on MacOS Firefox.
Selenium
Python
MacOS Firefox
So far, I have managed to click COMMAND + S
COMMAND + S
with open('page.html', 'w') as f: f.write(driver.page_source)