flagpolejs / flagpole

QA automation framework and CLI that unifies HTML integration testing, full E2E browser testing, REST API tests, and more.
https://flagpolejs.github.io/flagpole
MIT License
23 stars 7 forks source link

Added ability to get page source #195

Closed ncalaway closed 2 years ago

ncalaway commented 2 years ago

Get XML page source for current viewport. Useful as a helper method for scrolling until an element is present or until scrolling cannot be done anymore.

ncalaway commented 2 years ago

This is a candidate for standardization. We may want to be able to get the entire page source for HTML testing, or the current viewport source for browser testing, if possible. Thoughts?