I tried Googling for a automation test framework or tool to help test Apple News articles like running Selenium on webpages. But, I couldn't find any. Preferably, I can write these tests in JavaScript but I'm open to hear anything else.

Some aspects I want to test:

  1. Test if Social Media Embed and its image is visible in the article.
  2. Test if its content has the correct font and font color.
  3. Test if the content contains expected text.

For 2 + 3, I think you can test the article's JSON or use REST API. But, I want to test it similarly to running Selenium on a webpage.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.