QPython3 - Android One - How to open Browser URL and save page as HTML file?

348 Views Asked by At

Simply put, how can I with QPython3 in my phone (Nokia w Android One), open a browser (any browser), go to a URL, and do a SAVE-AS on the page to store it in the /Downloads folder, as a single HTML file?

So far I have this code:

import pyautogui
import webbrowser

webbrowser.open('google.com')
pyautogui.sleep(15)
pyautogui.hotkey('CTRL','s')
pyautogui.sleep(15)
pyautogui.hotkey('Alt','F4')

Those key presses are for Windows. I know! What's the equivalent inside an Android phone?

1

There are 1 best solutions below

0
Fandango68 On BEST ANSWER

The answer is no. I had to use Tasker