Skip to content

Commit

Permalink
Update GenerateDocument.php
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwedgbury authored Jun 13, 2022
1 parent 007fb50 commit e719bdb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/GenerateDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,14 @@ private function buildData()
$data['waitForElement'] = $this->waitForElement;
}

if (isset($this->header)) {
$data['headerTemplate'] = $this->header;
}

if (isset($this->footer)) {
$data['footerTemplate'] = $this->footer;
}

return $data;
}

Expand Down

0 comments on commit e719bdb

Please sign in to comment.