We have a one-page application created using AngularJS. We would like to check the markup of this application. The problem is that the markup is mostly generated using a script, so if we pass the source code to the validator, the result will be only partial.
We are currently studying the testing page as follows.
- Open the page using the Selenium web automation library.
- Take a few steps.
- Flush current HTML to file.
- Process it with an autonomous validator.
It takes a long time to implement this thread, since we will need to hard-code all the ways to use the application, so I would like to ask: are there other ways to do this?
source share