'Interacting with Windows News and Interests or Microsoft Edge Home Screen using python

I wanted to track what news and interests I am shown by the Microsoft news and interests button. To elaborate more, here is the list of interactions I intend to do with the news and interests:

  1. browse through all the articles it is showing me and store the heading of the article along with a link to the article.
  2. I would also like to click on those article headings to open the entire article and then read the text data present in the opened article.
  3. I would also like to click various buttons on the news and interest tab like the refresh more stories like this, few stories like this and Hide Story buttons.

It will also be okay if I can use Microsoft edge's home screen, as that also shows articles based on personal interests given that I can interact with them the way I mentioned above.

I have tried pywinauto, but I think doing this with pywinauto auto is lengthy. I was wondering if there is a better way to do the same using some other library or approach.

I would be happy to explain any other details.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source