Skip to content

Commit 7e70243

Browse files
committed
Add support for capturing text from base64 encoded PDF blobs
1 parent 40ed7e0 commit 7e70243

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docs/04-dsl.mdx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1818,6 +1818,32 @@ Since [v4.8.0](https://github.com/gwen-interpreter/gwen-web/releases/tag/v4.8.0)
18181818
</div>
18191819
</details>
18201820

1821+
<details id="i-capture-pdf-text-from-bas64-blob">
1822+
<summary class="dsl">
1823+
1824+
```gherkin
1825+
I capture the base64 encoded PDF text from <blobRef>
1826+
```
1827+
<p>Captures the text in a PDF document from a base64 encoded BLOB and binds it to <code>the PDF text</code> variable in the global scope.</p>
1828+
</summary>
1829+
<p>Where</p>
1830+
<ul>
1831+
<li><code>&lt;blobRef&gt;</code> is the name of the binding containing the base64 encoded PDF</li>
1832+
</ul>
1833+
<p>Example</p>
1834+
1835+
```gherkin {2}
1836+
Given the pdf blob is "Some base64 encoded PDF blob"
1837+
When I capture the base64 encoded PDF text from the pdf blob
1838+
Then the PDF text should contain "Some expected text"
1839+
```
1840+
1841+
<div class="grid-3">
1842+
<div><Link to="#i-capture-pdf-text-from-bas64-blob">Link</Link></div>
1843+
<div align="center"></div>
1844+
<div align="right">Since <Link to="https://github.com/gwen-interpreter/gwen-web/releases/tag/v4.9.0">v4.9.0</Link></div>
1845+
</div>
1846+
</details>
18211847

18221848
#### Base64 capture
18231849

0 commit comments

Comments
 (0)