Codeception / Codeception/module-webdriver

Add `seeSourceEquals()`

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
39
Forks
25
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.