Crude solution for exporting large amount of open tabs

I have always appreciated Firefox mobile’s leniency towards exporting open tabs. This is in contrast to Chrome or UC Web.

However, upon large open tab sizes, “select all” for tabs does not work as intended. Once I try to export the tabs under “select all”, it crashes the app. I had several thousand tabs open.

To get around this, I made a bizarre solution using scrcpy: https://android.stackexchange.com/questions/265679/how-to-backup-large-amounts-of-open-tabs-in-firefox-android/265680#265680

The autoclicker is essentially automating the task seen in the video here. As seen in video, going down can be done without monitoring, but going up must be done with monitoring unless you want to lose your selection: https://youtu.be/CE1tZgdD2U8

The reason going downwards needs to be on the left side and upward on the right side, is due to observed phenomena. There is a diagonal shift that makes exporting tabs difficult: https://youtu.be/LSH8bOgKBz8

Also, for some reason the best way to start backing up thousands of tabs in the “inactive tabs” section is to go to “tab settings” and deactivate “tabs you haven’t viewed for two weeks get moved to the inactive section.” This automatically shows the tabs which were in the inactive tabs again. Just pressing “inactive tabs” button in the open tabs section in Firefox mobile tends to crash the app if there are too many inactive tabs.