Teachable-dl icon indicating copy to clipboard operation
Teachable-dl copied to clipboard

[FEATURE] Keep the browser from stealing focus

Open jdunlap opened this issue 9 months ago • 1 comments

When downloading a course, the browser repeatedly steals focus.

The browser needs to not steal focus while the script is running to allow the user to complete other tasks while a download is running in the background.

jdunlap avatar May 08 '24 20:05 jdunlap

Apparently the issue comes down to how Selenium work. It required a viewport to function.

Maybe using headless mode help. But i imagine the owner of this repo probably though about it already and found out it's more work than it's worth. For now the workaround is simply having 2 screen and just put the focus to other program without minimize the window.

famasf1 avatar May 16 '24 08:05 famasf1

Apparently the issue comes down to how Selenium work. It required a viewport to function.

Maybe using headless mode help. But i imagine the owner of this repo probably though about it already and found out it's more work than it's worth. For now the workaround is simply having 2 screen and just put the focus to other program without minimize the window.

Yes, I did not want to do it headless as login requires you to solve captcha

FallingLights avatar Oct 02 '24 08:10 FallingLights