Codeception / Codeception/module-webdriver

Add `seeSourceEquals()`

Aperta
#20 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
39
Fork
25
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.