module-webdriver icon indicating copy to clipboard operation
module-webdriver copied to clipboard

Add `seeSourceEquals()`

Open ThomasLandauer opened this issue 5 years ago • 0 comments

When asserting "small" pages, it sometimes can be handy to assert that the page source is equal to an expected string. REST module has a nice method for that: seeResponseEquals(). I'm suggesting to include the same functionality into WebDriver, calling it seeSourceEquals().

I suggested this for lib-innerbrowser as well: https://github.com/Codeception/lib-innerbrowser/issues/14

ThomasLandauer avatar Sep 13 '20 21:09 ThomasLandauer