Open DakuTree opened 7 years ago
If #121 is completed, this would probably be a lot easier to work on.
The above commit (c50a68c97e9e647c0b6b80eb61a7e594da6df0a3) was from initial poking around with Selenium last week to see how easy/possible this would be. Uses Python + Chrome WebDriver for now. So far, I've managed to get the userscript install working, which was a bit tricky due to selenium bugs, but it works.
Preferably we'd move to just using a user dir, and just using pre-installed exts / userscripts, but the chromedriver doesn't play too nice with it. Might work if we create a temp user dir on load rather than always using the same one. Need to test.
Nearly every userscript update seems to break something somewhere and it's too time-consuming to manually test every single site.
Would be nice if we could have tests for this kind of thing.
As far as I know the only way to do this is via Selenium, but even then it would be pretty tricky to setup, and I'm not sure how possible it would be to automate it via Travis.
Some useful info: