diff --git a/protocol/http/step.go b/protocol/http/step.go
index abe81f53c1a8f64f8545e66bbf6ccc7132a067d3..1e1d7be5e80e61daceef513781ed2159216ac9e1 100644
--- a/protocol/http/step.go
+++ b/protocol/http/step.go
@@ -61,6 +61,7 @@ func CheckStep(ctx context.Context, b *Browser, step *Step, debug *log.Logger) e
 	}
 
 	if step.ExpectedURL.IsSet() && !step.ExpectedURL.MatchString(resp.URL.String()) {
+		debug.Printf("response body:\n%s", resp.Body)
 		return fmt.Errorf("expected URL %s, got %s instead", step.ExpectedURL.String(), resp.URL.String())
 	}
 	if step.ExpectedData.IsSet() && !step.ExpectedData.MatchString(resp.Body) {