Recording options, written as tests
Each example on this page varies one setting in a short procedure, shown as prose, detected tests, inline tests, and a standalone spec. For what each tab holds, see Navigation and interaction.
The examples write their images and videos to a .dd-output folder next to the example files. For full procedures, see Screenshots and recordings.
autoScreenshot and autoRecord precedence
A test’s value wins over the spec’s, which wins over the config’s. The examples config turns both off. The autoRecord examples run in headless Chrome, which records its tab.
autoScreenshot on in config
Varies: config.autoScreenshot · Value: true · Effect: saves a screenshot after every step to the run folder.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Type text with autoScreenshot on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
# Type text with autoScreenshot on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
= Type text with autoScreenshot on in config. Go to http://localhost:8092/type-echo.html[the type echo page].. Click *Type here:*.. Type "Hello".
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot on in config</title></head><body><h1>Type text with autoScreenshot on in config</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol></body></html>
Type text with autoScreenshot on in config==========================================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Click **Type here:**.#. Type "Hello".
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-config-true"><title>Type text with autoScreenshot on in config</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autoscreenshot-config-true","detectSteps":true} --># Type text with autoScreenshot on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.3. Type "Hello".<!-- test end -->
{/* test {"testId":"capture-autoscreenshot-config-true","detectSteps":true} */}# Type text with autoScreenshot on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.3. Type "Hello".{/* test end */}
= Type text with autoScreenshot on in config// (test {"testId":"capture-autoscreenshot-config-true","detectSteps":true}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.. Type "Hello".// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot on in config</title></head><body><!-- test {"testId":"capture-autoscreenshot-config-true","detectSteps":true} --><h1>Type text with autoScreenshot on in config</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol><!-- test end --></body></html>
Type text with autoScreenshot on in config==========================================.. test {"testId":"capture-autoscreenshot-config-true","detectSteps":true}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**.#. Type "Hello"... test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-config-true"><title>Type text with autoScreenshot on in config</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autoscreenshot-config-true","detectSteps":true}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autoscreenshot-config-true","detectSteps":false} --># Type text with autoScreenshot on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.<!-- step {"click":"Type here:"} -->3. Type "Hello".<!-- step {"type":"Hello"} --><!-- test end -->
{/* test {"testId":"capture-autoscreenshot-config-true","detectSteps":false} */}# Type text with autoScreenshot on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.{/* step {"click":"Type here:"} */}3. Type "Hello".{/* step {"type":"Hello"} */}{/* test end */}
= Type text with autoScreenshot on in config// (test {"testId":"capture-autoscreenshot-config-true","detectSteps":false}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot on in config</title></head><body><!-- test {"testId":"capture-autoscreenshot-config-true","detectSteps":false} --><h1>Type text with autoScreenshot on in config</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li></ol><!-- test end --></body></html>
Type text with autoScreenshot on in config==========================================.. test {"testId":"capture-autoscreenshot-config-true","detectSteps":false}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-config-true"><title>Type text with autoScreenshot on in config</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autoscreenshot-config-true","detectSteps":false}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-autoscreenshot-config-true","steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"click": "Type here:"},{"type": "Hello"}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-autoscreenshot-config-truesteps:- goTo: http://localhost:8092/type-echo.html- click: "Type here:"- type: Hello
autoScreenshot: true on the test
Varies: test.autoScreenshot · Value: true · Effect: turns it on for this test, though the config turns it off.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Type text with autoScreenshot on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
# Type text with autoScreenshot on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
= Type text with autoScreenshot on for one test. Go to http://localhost:8092/type-echo.html[the type echo page].. Click *Type here:*.. Type "Hello".
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot on for one test</title></head><body><h1>Type text with autoScreenshot on for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol></body></html>
Type text with autoScreenshot on for one test=============================================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Click **Type here:**.#. Type "Hello".
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-test-true"><title>Type text with autoScreenshot on for one test</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autoscreenshot-test-true","detectSteps":true,"autoScreenshot":true} --># Type text with autoScreenshot on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.3. Type "Hello".<!-- test end -->
{/* test {"testId":"capture-autoscreenshot-test-true","detectSteps":true,"autoScreenshot":true} */}# Type text with autoScreenshot on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.3. Type "Hello".{/* test end */}
= Type text with autoScreenshot on for one test// (test {"testId":"capture-autoscreenshot-test-true","detectSteps":true,"autoScreenshot":true}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.. Type "Hello".// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot on for one test</title></head><body><!-- test {"testId":"capture-autoscreenshot-test-true","detectSteps":true,"autoScreenshot":true} --><h1>Type text with autoScreenshot on for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol><!-- test end --></body></html>
Type text with autoScreenshot on for one test=============================================.. test {"testId":"capture-autoscreenshot-test-true","detectSteps":true,"autoScreenshot":true}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**.#. Type "Hello"... test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-test-true"><title>Type text with autoScreenshot on for one test</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autoscreenshot-test-true","detectSteps":true,"autoScreenshot":true}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autoscreenshot-test-true","detectSteps":false,"autoScreenshot":true} --># Type text with autoScreenshot on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.<!-- step {"click":"Type here:"} -->3. Type "Hello".<!-- step {"type":"Hello"} --><!-- test end -->
{/* test {"testId":"capture-autoscreenshot-test-true","detectSteps":false,"autoScreenshot":true} */}# Type text with autoScreenshot on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.{/* step {"click":"Type here:"} */}3. Type "Hello".{/* step {"type":"Hello"} */}{/* test end */}
= Type text with autoScreenshot on for one test// (test {"testId":"capture-autoscreenshot-test-true","detectSteps":false,"autoScreenshot":true}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot on for one test</title></head><body><!-- test {"testId":"capture-autoscreenshot-test-true","detectSteps":false,"autoScreenshot":true} --><h1>Type text with autoScreenshot on for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li></ol><!-- test end --></body></html>
Type text with autoScreenshot on for one test=============================================.. test {"testId":"capture-autoscreenshot-test-true","detectSteps":false,"autoScreenshot":true}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-test-true"><title>Type text with autoScreenshot on for one test</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autoscreenshot-test-true","detectSteps":false,"autoScreenshot":true}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-autoscreenshot-test-true","autoScreenshot": true,"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"click": "Type here:"},{"type": "Hello"}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-autoscreenshot-test-trueautoScreenshot: truesteps:- goTo: http://localhost:8092/type-echo.html- click: "Type here:"- type: Hello
autoScreenshot: false on the test over config
Varies: test.autoScreenshot · Value: false · Effect: turns it off for this test, though the config turns it on.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Type text with autoScreenshot off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
# Type text with autoScreenshot off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
= Type text with autoScreenshot off for one test. Go to http://localhost:8092/type-echo.html[the type echo page].. Click *Type here:*.. Type "Hello".
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot off for one test</title></head><body><h1>Type text with autoScreenshot off for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol></body></html>
Type text with autoScreenshot off for one test==============================================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Click **Type here:**.#. Type "Hello".
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-test-false"><title>Type text with autoScreenshot off for one test</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autoscreenshot-test-false","detectSteps":true,"autoScreenshot":false} --># Type text with autoScreenshot off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.3. Type "Hello".<!-- test end -->
{/* test {"testId":"capture-autoscreenshot-test-false","detectSteps":true,"autoScreenshot":false} */}# Type text with autoScreenshot off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.3. Type "Hello".{/* test end */}
= Type text with autoScreenshot off for one test// (test {"testId":"capture-autoscreenshot-test-false","detectSteps":true,"autoScreenshot":false}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.. Type "Hello".// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot off for one test</title></head><body><!-- test {"testId":"capture-autoscreenshot-test-false","detectSteps":true,"autoScreenshot":false} --><h1>Type text with autoScreenshot off for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol><!-- test end --></body></html>
Type text with autoScreenshot off for one test==============================================.. test {"testId":"capture-autoscreenshot-test-false","detectSteps":true,"autoScreenshot":false}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**.#. Type "Hello"... test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-test-false"><title>Type text with autoScreenshot off for one test</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autoscreenshot-test-false","detectSteps":true,"autoScreenshot":false}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autoscreenshot-test-false","detectSteps":false,"autoScreenshot":false} --># Type text with autoScreenshot off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.<!-- step {"click":"Type here:"} -->3. Type "Hello".<!-- step {"type":"Hello"} --><!-- test end -->
{/* test {"testId":"capture-autoscreenshot-test-false","detectSteps":false,"autoScreenshot":false} */}# Type text with autoScreenshot off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.{/* step {"click":"Type here:"} */}3. Type "Hello".{/* step {"type":"Hello"} */}{/* test end */}
= Type text with autoScreenshot off for one test// (test {"testId":"capture-autoscreenshot-test-false","detectSteps":false,"autoScreenshot":false}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot off for one test</title></head><body><!-- test {"testId":"capture-autoscreenshot-test-false","detectSteps":false,"autoScreenshot":false} --><h1>Type text with autoScreenshot off for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li></ol><!-- test end --></body></html>
Type text with autoScreenshot off for one test==============================================.. test {"testId":"capture-autoscreenshot-test-false","detectSteps":false,"autoScreenshot":false}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-test-false"><title>Type text with autoScreenshot off for one test</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autoscreenshot-test-false","detectSteps":false,"autoScreenshot":false}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-autoscreenshot-test-false","autoScreenshot": false,"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"click": "Type here:"},{"type": "Hello"}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-autoscreenshot-test-falseautoScreenshot: falsesteps:- goTo: http://localhost:8092/type-echo.html- click: "Type here:"- type: Hello
autoScreenshot: false on the spec over config
Varies: spec.autoScreenshot · Value: false · Effect: turns it off for every test in the spec. Inline statements can’t set spec fields, so the inline and detected variants set it on the test.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Type text with autoScreenshot off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
# Type text with autoScreenshot off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
= Type text with autoScreenshot off for a spec. Go to http://localhost:8092/type-echo.html[the type echo page].. Click *Type here:*.. Type "Hello".
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot off for a spec</title></head><body><h1>Type text with autoScreenshot off for a spec</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol></body></html>
Type text with autoScreenshot off for a spec============================================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Click **Type here:**.#. Type "Hello".
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-spec-false"><title>Type text with autoScreenshot off for a spec</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autoscreenshot-spec-false","detectSteps":true,"autoScreenshot":false} --># Type text with autoScreenshot off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.3. Type "Hello".<!-- test end -->
{/* test {"testId":"capture-autoscreenshot-spec-false","detectSteps":true,"autoScreenshot":false} */}# Type text with autoScreenshot off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.3. Type "Hello".{/* test end */}
= Type text with autoScreenshot off for a spec// (test {"testId":"capture-autoscreenshot-spec-false","detectSteps":true,"autoScreenshot":false}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.. Type "Hello".// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot off for a spec</title></head><body><!-- test {"testId":"capture-autoscreenshot-spec-false","detectSteps":true,"autoScreenshot":false} --><h1>Type text with autoScreenshot off for a spec</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol><!-- test end --></body></html>
Type text with autoScreenshot off for a spec============================================.. test {"testId":"capture-autoscreenshot-spec-false","detectSteps":true,"autoScreenshot":false}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**.#. Type "Hello"... test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-spec-false"><title>Type text with autoScreenshot off for a spec</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autoscreenshot-spec-false","detectSteps":true,"autoScreenshot":false}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autoscreenshot-spec-false","detectSteps":false,"autoScreenshot":false} --># Type text with autoScreenshot off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.<!-- step {"click":"Type here:"} -->3. Type "Hello".<!-- step {"type":"Hello"} --><!-- test end -->
{/* test {"testId":"capture-autoscreenshot-spec-false","detectSteps":false,"autoScreenshot":false} */}# Type text with autoScreenshot off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.{/* step {"click":"Type here:"} */}3. Type "Hello".{/* step {"type":"Hello"} */}{/* test end */}
= Type text with autoScreenshot off for a spec// (test {"testId":"capture-autoscreenshot-spec-false","detectSteps":false,"autoScreenshot":false}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoScreenshot off for a spec</title></head><body><!-- test {"testId":"capture-autoscreenshot-spec-false","detectSteps":false,"autoScreenshot":false} --><h1>Type text with autoScreenshot off for a spec</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li></ol><!-- test end --></body></html>
Type text with autoScreenshot off for a spec============================================.. test {"testId":"capture-autoscreenshot-spec-false","detectSteps":false,"autoScreenshot":false}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autoscreenshot-spec-false"><title>Type text with autoScreenshot off for a spec</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autoscreenshot-spec-false","detectSteps":false,"autoScreenshot":false}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","autoScreenshot": false,"tests": [{"testId": "capture-autoscreenshot-spec-false","steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"click": "Type here:"},{"type": "Hello"}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsonautoScreenshot: falsetests:- testId: capture-autoscreenshot-spec-falsesteps:- goTo: http://localhost:8092/type-echo.html- click: "Type here:"- type: Hello
autoRecord on in config
Varies: config.autoRecord · Value: true · Effect: saves a video of the whole test to the run folder.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Type text with autoRecord on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
# Type text with autoRecord on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
= Type text with autoRecord on in config. Go to http://localhost:8092/type-echo.html[the type echo page].. Click *Type here:*.. Type "Hello".
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord on in config</title></head><body><h1>Type text with autoRecord on in config</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol></body></html>
Type text with autoRecord on in config======================================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Click **Type here:**.#. Type "Hello".
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-config-true"><title>Type text with autoRecord on in config</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autorecord-config-true","detectSteps":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Type text with autoRecord on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.3. Type "Hello".<!-- test end -->
{/* test {"testId":"capture-autorecord-config-true","detectSteps":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Type text with autoRecord on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.3. Type "Hello".{/* test end */}
= Type text with autoRecord on in config// (test {"testId":"capture-autorecord-config-true","detectSteps":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.. Type "Hello".// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord on in config</title></head><body><!-- test {"testId":"capture-autorecord-config-true","detectSteps":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Type text with autoRecord on in config</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol><!-- test end --></body></html>
Type text with autoRecord on in config======================================.. test {"testId":"capture-autorecord-config-true","detectSteps":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**.#. Type "Hello"... test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-config-true"><title>Type text with autoRecord on in config</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autorecord-config-true","detectSteps":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autorecord-config-true","detectSteps":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Type text with autoRecord on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.<!-- step {"click":"Type here:"} -->3. Type "Hello".<!-- step {"type":"Hello"} --><!-- test end -->
{/* test {"testId":"capture-autorecord-config-true","detectSteps":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Type text with autoRecord on in config1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.{/* step {"click":"Type here:"} */}3. Type "Hello".{/* step {"type":"Hello"} */}{/* test end */}
= Type text with autoRecord on in config// (test {"testId":"capture-autorecord-config-true","detectSteps":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord on in config</title></head><body><!-- test {"testId":"capture-autorecord-config-true","detectSteps":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Type text with autoRecord on in config</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li></ol><!-- test end --></body></html>
Type text with autoRecord on in config======================================.. test {"testId":"capture-autorecord-config-true","detectSteps":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-config-true"><title>Type text with autoRecord on in config</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autorecord-config-true","detectSteps":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-autorecord-config-true","runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"click": "Type here:"},{"type": "Hello"}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-autorecord-config-truerunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- click: "Type here:"- type: Hello
autoRecord: true on the test
Varies: test.autoRecord · Value: true · Effect: turns it on for this test, though the config turns it off.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Type text with autoRecord on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
# Type text with autoRecord on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
= Type text with autoRecord on for one test. Go to http://localhost:8092/type-echo.html[the type echo page].. Click *Type here:*.. Type "Hello".
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord on for one test</title></head><body><h1>Type text with autoRecord on for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol></body></html>
Type text with autoRecord on for one test=========================================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Click **Type here:**.#. Type "Hello".
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-test-true"><title>Type text with autoRecord on for one test</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autorecord-test-true","detectSteps":true,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Type text with autoRecord on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.3. Type "Hello".<!-- test end -->
{/* test {"testId":"capture-autorecord-test-true","detectSteps":true,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Type text with autoRecord on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.3. Type "Hello".{/* test end */}
= Type text with autoRecord on for one test// (test {"testId":"capture-autorecord-test-true","detectSteps":true,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.. Type "Hello".// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord on for one test</title></head><body><!-- test {"testId":"capture-autorecord-test-true","detectSteps":true,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Type text with autoRecord on for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol><!-- test end --></body></html>
Type text with autoRecord on for one test=========================================.. test {"testId":"capture-autorecord-test-true","detectSteps":true,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**.#. Type "Hello"... test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-test-true"><title>Type text with autoRecord on for one test</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autorecord-test-true","detectSteps":true,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autorecord-test-true","detectSteps":false,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Type text with autoRecord on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.<!-- step {"click":"Type here:"} -->3. Type "Hello".<!-- step {"type":"Hello"} --><!-- test end -->
{/* test {"testId":"capture-autorecord-test-true","detectSteps":false,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Type text with autoRecord on for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.{/* step {"click":"Type here:"} */}3. Type "Hello".{/* step {"type":"Hello"} */}{/* test end */}
= Type text with autoRecord on for one test// (test {"testId":"capture-autorecord-test-true","detectSteps":false,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord on for one test</title></head><body><!-- test {"testId":"capture-autorecord-test-true","detectSteps":false,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Type text with autoRecord on for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li></ol><!-- test end --></body></html>
Type text with autoRecord on for one test=========================================.. test {"testId":"capture-autorecord-test-true","detectSteps":false,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-test-true"><title>Type text with autoRecord on for one test</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autorecord-test-true","detectSteps":false,"autoRecord":true,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-autorecord-test-true","autoRecord": true,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"click": "Type here:"},{"type": "Hello"}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-autorecord-test-trueautoRecord: truerunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- click: "Type here:"- type: Hello
autoRecord: false on the test over config
Varies: test.autoRecord · Value: false · Effect: turns it off for this test, though the config turns it on.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Type text with autoRecord off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
# Type text with autoRecord off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
= Type text with autoRecord off for one test. Go to http://localhost:8092/type-echo.html[the type echo page].. Click *Type here:*.. Type "Hello".
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord off for one test</title></head><body><h1>Type text with autoRecord off for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol></body></html>
Type text with autoRecord off for one test==========================================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Click **Type here:**.#. Type "Hello".
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-test-false"><title>Type text with autoRecord off for one test</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autorecord-test-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Type text with autoRecord off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.3. Type "Hello".<!-- test end -->
{/* test {"testId":"capture-autorecord-test-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Type text with autoRecord off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.3. Type "Hello".{/* test end */}
= Type text with autoRecord off for one test// (test {"testId":"capture-autorecord-test-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.. Type "Hello".// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord off for one test</title></head><body><!-- test {"testId":"capture-autorecord-test-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Type text with autoRecord off for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol><!-- test end --></body></html>
Type text with autoRecord off for one test==========================================.. test {"testId":"capture-autorecord-test-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**.#. Type "Hello"... test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-test-false"><title>Type text with autoRecord off for one test</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autorecord-test-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autorecord-test-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Type text with autoRecord off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.<!-- step {"click":"Type here:"} -->3. Type "Hello".<!-- step {"type":"Hello"} --><!-- test end -->
{/* test {"testId":"capture-autorecord-test-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Type text with autoRecord off for one test1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.{/* step {"click":"Type here:"} */}3. Type "Hello".{/* step {"type":"Hello"} */}{/* test end */}
= Type text with autoRecord off for one test// (test {"testId":"capture-autorecord-test-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord off for one test</title></head><body><!-- test {"testId":"capture-autorecord-test-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Type text with autoRecord off for one test</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li></ol><!-- test end --></body></html>
Type text with autoRecord off for one test==========================================.. test {"testId":"capture-autorecord-test-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-test-false"><title>Type text with autoRecord off for one test</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autorecord-test-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-autorecord-test-false","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"click": "Type here:"},{"type": "Hello"}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-autorecord-test-falseautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- click: "Type here:"- type: Hello
autoRecord: false on the spec over config
Varies: spec.autoRecord · Value: false · Effect: turns it off for every test in the spec. Inline statements can’t set spec fields, so the inline and detected variants set it on the test.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Type text with autoRecord off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
# Type text with autoRecord off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Click **Type here:**.3. Type "Hello".
= Type text with autoRecord off for a spec. Go to http://localhost:8092/type-echo.html[the type echo page].. Click *Type here:*.. Type "Hello".
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord off for a spec</title></head><body><h1>Type text with autoRecord off for a spec</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol></body></html>
Type text with autoRecord off for a spec========================================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Click **Type here:**.#. Type "Hello".
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-spec-false"><title>Type text with autoRecord off for a spec</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autorecord-spec-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Type text with autoRecord off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.3. Type "Hello".<!-- test end -->
{/* test {"testId":"capture-autorecord-spec-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Type text with autoRecord off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.3. Type "Hello".{/* test end */}
= Type text with autoRecord off for a spec// (test {"testId":"capture-autorecord-spec-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.. Type "Hello".// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord off for a spec</title></head><body><!-- test {"testId":"capture-autorecord-spec-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Type text with autoRecord off for a spec</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li></ol><!-- test end --></body></html>
Type text with autoRecord off for a spec========================================.. test {"testId":"capture-autorecord-spec-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**.#. Type "Hello"... test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-spec-false"><title>Type text with autoRecord off for a spec</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autorecord-spec-false","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-autorecord-spec-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Type text with autoRecord off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Click **Type here:**.<!-- step {"click":"Type here:"} -->3. Type "Hello".<!-- step {"type":"Hello"} --><!-- test end -->
{/* test {"testId":"capture-autorecord-spec-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Type text with autoRecord off for a spec1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Click **Type here:**.{/* step {"click":"Type here:"} */}3. Type "Hello".{/* step {"type":"Hello"} */}{/* test end */}
= Type text with autoRecord off for a spec// (test {"testId":"capture-autorecord-spec-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Type text with autoRecord off for a spec</title></head><body><!-- test {"testId":"capture-autorecord-spec-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Type text with autoRecord off for a spec</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li></ol><!-- test end --></body></html>
Type text with autoRecord off for a spec========================================.. test {"testId":"capture-autorecord-spec-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-autorecord-spec-false"><title>Type text with autoRecord off for a spec</title><taskbody><data name="doc-detective" value='test {"testId":"capture-autorecord-spec-false","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","autoRecord": false,"tests": [{"testId": "capture-autorecord-spec-false","runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"click": "Type here:"},{"type": "Hello"}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsonautoRecord: falsetests:- testId: capture-autorecord-spec-falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- click: "Type here:"- type: Hello
record and stopRecord permutations
Each example records typing in a field. The browser engine runs in headless Chrome on Windows, macOS, and Linux. The ffmpeg example needs a display, so it runs only in headed Chrome on Windows and macOS.
String path
Varies: record · Value: ".dd-output/typing.webm" · Effect: records to the path. With no overwrite, it skips when the file exists.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-form-string"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-form-string","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":".dd-output/typing.webm"} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-form-string","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":".dd-output/typing.webm"} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-form-string","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":".dd-output/typing.webm"}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-form-string","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":".dd-output/typing.webm"} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-form-string","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":".dd-output/typing.webm"}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-form-string"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-form-string","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":".dd-output/typing.webm"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-form-string","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":".dd-output/typing.webm"} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-form-string","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":".dd-output/typing.webm"} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-form-string","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":".dd-output/typing.webm"}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-form-string","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":".dd-output/typing.webm"} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-form-string","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":".dd-output/typing.webm"}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-form-string"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-form-string","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":".dd-output/typing.webm"}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-form-string","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": ".dd-output/typing.webm"},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-form-stringautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record: .dd-output/typing.webm- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
true
Varies: record · Value: true · Effect: records to <stepId>.mp4 in outputDir with the engine Doc Detective picks.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-form-true"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-form-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":true} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-form-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":true} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-form-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":true}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-form-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":true} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-form-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":true}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-form-true"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-form-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":true}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-form-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":true} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-form-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":true} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-form-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":true}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-form-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":true} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-form-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":true}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-form-true"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-form-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":true}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-form-true","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": true},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-form-trueautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record: true- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
Object with path, directory, and overwrite
Varies: record · Value: { "path", "directory", "overwrite": "true" } · Effect: records to record-object.webm in .dd-output, replacing the last run’s file.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-form-object"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-form-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-form-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-form-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-form-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-form-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-form-object"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-form-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-form-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-form-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-form-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-form-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-form-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-form-object"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-form-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"record-object.webm","directory":".dd-output","overwrite":"true"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-form-object","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "record-object.webm","directory": ".dd-output","overwrite": "true"}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-form-objectautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record:path: record-object.webmdirectory: .dd-outputoverwrite: "true"- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
engine: "browser"
Varies: record.engine · Value: "browser" · Effect: records the Chrome tab in a headed or a headless browser.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-engine-browser"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-engine-browser","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-engine-browser","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-engine-browser","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-engine-browser","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-engine-browser","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-engine-browser"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-engine-browser","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-engine-browser","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-engine-browser","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-engine-browser","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-engine-browser","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-engine-browser","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-engine-browser"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-engine-browser","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"engine-browser.webm","directory":".dd-output","overwrite":"true","engine":"browser"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-engine-browser","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "engine-browser.webm","directory": ".dd-output","overwrite": "true","engine": "browser"}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-engine-browserautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record:path: engine-browser.webmdirectory: .dd-outputoverwrite: "true"engine: browser- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
engine: "ffmpeg"
Varies: record.engine · Value: "ffmpeg" · Effect: records the screen, so the test runs only in headed Chrome on Windows and macOS.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-engine-ffmpeg"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-engine-ffmpeg","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-engine-ffmpeg","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-engine-ffmpeg","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-engine-ffmpeg","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-engine-ffmpeg","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-engine-ffmpeg"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-engine-ffmpeg","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-engine-ffmpeg","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-engine-ffmpeg","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-engine-ffmpeg","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-engine-ffmpeg","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-engine-ffmpeg","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-engine-ffmpeg"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-engine-ffmpeg","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac"],"browsers":{"name":"chrome","headless":false}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"engine-ffmpeg.mp4","directory":".dd-output","overwrite":"true","engine":"ffmpeg"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-engine-ffmpeg","autoRecord": false,"runOn": [{"platforms": ["windows","mac"],"browsers": {"name": "chrome","headless": false}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "engine-ffmpeg.mp4","directory": ".dd-output","overwrite": "true","engine": "ffmpeg"}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-engine-ffmpegautoRecord: falserunOn:- platforms:- windows- macbrowsers:name: chromeheadless: falsesteps:- goTo: http://localhost:8092/type-echo.html- record:path: engine-ffmpeg.mp4directory: .dd-outputoverwrite: "true"engine: ffmpeg- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
Named recording
Varies: record.name · Value: "typing" · Effect: gives the recording a name that stopRecord can target.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-named"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-named","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":"typing"} --><!-- test end -->
{/* test {"testId":"capture-record-named","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":"typing"} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-named","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":"typing"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-named","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":"typing"} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-named","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":"typing"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-named"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-named","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":"typing"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-named","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":"typing"} --><!-- test end -->
{/* test {"testId":"capture-record-named","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":"typing"} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-named","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":"typing"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-named","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":"typing"} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-named","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":"typing"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-named"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-named","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"named.webm","directory":".dd-output","overwrite":"true","name":"typing"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":"typing"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-named","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "named.webm","directory": ".dd-output","overwrite": "true","name": "typing"}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": "typing"}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-namedautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record:path: named.webmdirectory: .dd-outputoverwrite: "true"name: typing- click: "Type here:"- type: Hello- wait: 1000- stopRecord: typing
verify with minDuration and maxDuration
Varies: record.verify · Value: { "minDuration": 0.5, "maxDuration": 120 } · Effect: fails the stop step if the video is shorter than half a second or longer than two minutes.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-duration"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-verify-duration","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-verify-duration","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-verify-duration","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-verify-duration","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-verify-duration","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-duration"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-verify-duration","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-verify-duration","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-verify-duration","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-verify-duration","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-verify-duration","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-verify-duration","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-duration"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-verify-duration","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"verify-duration.webm","directory":".dd-output","overwrite":"true","verify":{"minDuration":0.5,"maxDuration":120}}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-verify-duration","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "verify-duration.webm","directory": ".dd-output","overwrite": "true","verify": {"minDuration": 0.5,"maxDuration": 120}}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-verify-durationautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record:path: verify-duration.webmdirectory: .dd-outputoverwrite: "true"verify:minDuration: 0.5maxDuration: 120- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
verify with notBlack
Varies: record.verify.notBlack · Value: true · Effect: fails the stop step if the video is almost all black.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-notblack"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-verify-notblack","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-verify-notblack","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-verify-notblack","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-verify-notblack","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-verify-notblack","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-notblack"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-verify-notblack","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-verify-notblack","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-verify-notblack","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-verify-notblack","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-verify-notblack","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-verify-notblack","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-notblack"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-verify-notblack","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"verify-notblack.webm","directory":".dd-output","overwrite":"true","verify":{"notBlack":true}}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-verify-notblack","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "verify-notblack.webm","directory": ".dd-output","overwrite": "true","verify": {"notBlack": true}}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-verify-notblackautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record:path: verify-notblack.webmdirectory: .dd-outputoverwrite: "true"verify:notBlack: true- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
verify with resolution: true
Varies: record.verify.resolution · Value: true · Effect: fails the stop step if the video’s size doesn’t match what Doc Detective expected to record.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-resolution"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-verify-resolution","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-verify-resolution","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-verify-resolution","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-verify-resolution","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-verify-resolution","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-resolution"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-verify-resolution","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-verify-resolution","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-verify-resolution","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-verify-resolution","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-verify-resolution","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-verify-resolution","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-resolution"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-verify-resolution","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"verify-resolution.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":true}}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-verify-resolution","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "verify-resolution.webm","directory": ".dd-output","overwrite": "true","verify": {"resolution": true}}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-verify-resolutionautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record:path: verify-resolution.webmdirectory: .dd-outputoverwrite: "true"verify:resolution: true- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
verify with resolution as an object
Varies: record.verify.resolution · Value: { "width": 800, "height": 600 } · Effect: fails the stop step unless the video is exactly 800 by 600 pixels, the size of the test’s headless Chrome viewport.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-resolution-object"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-verify-resolution-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-verify-resolution-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-verify-resolution-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-verify-resolution-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-verify-resolution-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-resolution-object"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-verify-resolution-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-verify-resolution-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-verify-resolution-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-verify-resolution-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-verify-resolution-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-verify-resolution-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-verify-resolution-object"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-verify-resolution-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true,"viewport":{"width":800,"height":600}}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"verify-resolution-object.webm","directory":".dd-output","overwrite":"true","verify":{"resolution":{"width":800,"height":600}}}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-verify-resolution-object","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true,"viewport": {"width": 800,"height": 600}}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "verify-resolution-object.webm","directory": ".dd-output","overwrite": "true","verify": {"resolution": {"width": 800,"height": 600}}}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-verify-resolution-objectautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: trueviewport:width: 800height: 600steps:- goTo: http://localhost:8092/type-echo.html- record:path: verify-resolution-object.webmdirectory: .dd-outputoverwrite: "true"verify:resolution:width: 800height: 600- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
The test’s runOn runs it on headless Chrome only, where the video matches the viewport. Headed Chrome on a display smaller than the window can record a shorter video, and the run warns.
checkpoints: true
Varies: record.checkpoints · Value: true · Effect: saves a screenshot after each step and compares it with the last run’s, with the default settings.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-checkpoints-true"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-checkpoints-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-checkpoints-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-checkpoints-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-checkpoints-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-checkpoints-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-checkpoints-true"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-checkpoints-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-checkpoints-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-checkpoints-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-checkpoints-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-checkpoints-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-checkpoints-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-checkpoints-true"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-checkpoints-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"checkpoints-true.webm","directory":".dd-output","overwrite":"true","checkpoints":true}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-checkpoints-true","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "checkpoints-true.webm","directory": ".dd-output","overwrite": "true","checkpoints": true}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-checkpoints-trueautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record:path: checkpoints-true.webmdirectory: .dd-outputoverwrite: "true"checkpoints: true- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
checkpoints as an object
Varies: record.checkpoints · Value: { "maxVariation": 0.5, "directory": ".dd-output/typing-checkpoints" } · Effect: keeps the comparison images in its own folder and tolerates more change before it warns.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-checkpoints-object"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-checkpoints-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-checkpoints-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-checkpoints-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-checkpoints-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-checkpoints-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-checkpoints-object"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-checkpoints-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-checkpoints-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-checkpoints-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-checkpoints-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-checkpoints-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-checkpoints-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-checkpoints-object"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-checkpoints-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"checkpoints-object.webm","directory":".dd-output","overwrite":"true","checkpoints":{"maxVariation":0.5,"directory":".dd-output/typing-checkpoints"}}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-checkpoints-object","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "checkpoints-object.webm","directory": ".dd-output","overwrite": "true","checkpoints": {"maxVariation": 0.5,"directory": ".dd-output/typing-checkpoints"}}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-checkpoints-objectautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record:path: checkpoints-object.webmdirectory: .dd-outputoverwrite: "true"checkpoints:maxVariation: 0.5directory: .dd-output/typing-checkpoints- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
stopRecord: true
Varies: stopRecord · Value: true · Effect: stops the most recent recording.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-stoprecord-true"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-stoprecord-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-stoprecord-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-stoprecord-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-stoprecord-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-stoprecord-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-stoprecord-true"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-stoprecord-true","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-stoprecord-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --><!-- test end -->
{/* test {"testId":"capture-record-stoprecord-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":true} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-stoprecord-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":true})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-stoprecord-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":true} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-stoprecord-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":true}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-stoprecord-true"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-stoprecord-true","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"stoprecord-true.webm","directory":".dd-output","overwrite":"true"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":true}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-stoprecord-true","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "stoprecord-true.webm","directory": ".dd-output","overwrite": "true"}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": true}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-stoprecord-trueautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record:path: stoprecord-true.webmdirectory: .dd-outputoverwrite: "true"- click: "Type here:"- type: Hello- wait: 1000- stopRecord: true
stopRecord with a name
Varies: stopRecord · Value: "typing" · Effect: stops the recording named typing.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-stoprecord-name"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-stoprecord-name","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":"typing"} --><!-- test end -->
{/* test {"testId":"capture-record-stoprecord-name","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":"typing"} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-stoprecord-name","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":"typing"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-stoprecord-name","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":"typing"} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-stoprecord-name","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":"typing"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-stoprecord-name"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-stoprecord-name","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":"typing"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-stoprecord-name","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":"typing"} --><!-- test end -->
{/* test {"testId":"capture-record-stoprecord-name","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":"typing"} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-stoprecord-name","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":"typing"})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-stoprecord-name","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":"typing"} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-stoprecord-name","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":"typing"}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-stoprecord-name"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-stoprecord-name","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"stoprecord-name.webm","directory":".dd-output","overwrite":"true","name":"typing"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":"typing"}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-stoprecord-name","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "stoprecord-name.webm","directory": ".dd-output","overwrite": "true","name": "typing"}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": "typing"}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-stoprecord-nameautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record:path: stoprecord-name.webmdirectory: .dd-outputoverwrite: "true"name: typing- click: "Type here:"- type: Hello- wait: 1000- stopRecord: typing
stopRecord as an object
Varies: stopRecord · Value: { "name": "typing" } · Effect: stops the recording named typing, written as an object.
Prose
Detected
Inline
Standalone
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).2. Start recording.3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.
= Record typing in a field. Go to http://localhost:8092/type-echo.html[the type echo page].. Start recording.. Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.</li><li>Start recording.</li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.</li></ol></body></html>
Record typing in a field========================#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_.#. Start recording.#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-stoprecord-object"><title>Record typing in a field</title><taskbody><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd></step><step><cmd>Start recording.</cmd></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd></step></steps></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-stoprecord-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}} -->3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":{"name":"typing"}} --><!-- test end -->
{/* test {"testId":"capture-record-stoprecord-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}} */}3. Click **Type here:**.4. Type "Hello".5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":{"name":"typing"}} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-stoprecord-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}}). Click *Type here:*.. Type "Hello".. Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":{"name":"typing"}})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-stoprecord-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}} --></li><li>Click <strong>Type here:</strong>.</li><li>Type "Hello".</li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":{"name":"typing"}} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-stoprecord-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}}#. Click **Type here:**.#. Type "Hello".#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":{"name":"typing"}}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-stoprecord-object"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-stoprecord-object","detectSteps":true,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd></step><step><cmd>Type "Hello".</cmd></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":{"name":"typing"}}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
Markdown
MDX
AsciiDoc
HTML
reStructuredText
DITA
<!-- test {"testId":"capture-record-stoprecord-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --># Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).<!-- step {"goTo":"http://localhost:8092/type-echo.html"} -->2. Start recording.<!-- step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}} -->3. Click **Type here:**.<!-- step {"click":"Type here:"} -->4. Type "Hello".<!-- step {"type":"Hello"} -->5. Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":{"name":"typing"}} --><!-- test end -->
{/* test {"testId":"capture-record-stoprecord-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} */}# Record typing in a field1. Go to [the type echo page](http://localhost:8092/type-echo.html).{/* step {"goTo":"http://localhost:8092/type-echo.html"} */}2. Start recording.{/* step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}} */}3. Click **Type here:**.{/* step {"click":"Type here:"} */}4. Type "Hello".{/* step {"type":"Hello"} */}5. Wait a moment, then stop the recording.{/* step {"wait":1000} */}{/* step {"stopRecord":{"name":"typing"}} */}{/* test end */}
= Record typing in a field// (test {"testId":"capture-record-stoprecord-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}). Go to http://localhost:8092/type-echo.html[the type echo page].+// (step {"goTo":"http://localhost:8092/type-echo.html"}). Start recording.+// (step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}}). Click *Type here:*.+// (step {"click":"Type here:"}). Type "Hello".+// (step {"type":"Hello"}). Wait a moment, then stop the recording.+// (step {"wait":1000})+// (step {"stopRecord":{"name":"typing"}})// (test end)
<!DOCTYPE html><html lang="en"><head><title>Record typing in a field</title></head><body><!-- test {"testId":"capture-record-stoprecord-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]} --><h1>Record typing in a field</h1><ol><li>Go to <a href="http://localhost:8092/type-echo.html">the type echo page</a>.<!-- step {"goTo":"http://localhost:8092/type-echo.html"} --></li><li>Start recording.<!-- step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}} --></li><li>Click <strong>Type here:</strong>.<!-- step {"click":"Type here:"} --></li><li>Type "Hello".<!-- step {"type":"Hello"} --></li><li>Wait a moment, then stop the recording.<!-- step {"wait":1000} --><!-- step {"stopRecord":{"name":"typing"}} --></li></ol><!-- test end --></body></html>
Record typing in a field========================.. test {"testId":"capture-record-stoprecord-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}#. Go to `the type echo page <http://localhost:8092/type-echo.html>`_... step {"goTo":"http://localhost:8092/type-echo.html"}#. Start recording... step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}}#. Click **Type here:**... step {"click":"Type here:"}#. Type "Hello"... step {"type":"Hello"}#. Wait a moment, then stop the recording... step {"wait":1000}.. step {"stopRecord":{"name":"typing"}}.. test end
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd"><task id="capture-record-stoprecord-object"><title>Record typing in a field</title><taskbody><data name="doc-detective" value='test {"testId":"capture-record-stoprecord-object","detectSteps":false,"autoRecord":false,"runOn":[{"platforms":["windows","mac","linux"],"browsers":{"name":"chrome","headless":true}}]}'/><steps><step><cmd>Go to <xref href="http://localhost:8092/type-echo.html" scope="external" format="html">the type echo page</xref>.</cmd><info><data name="doc-detective" value='step {"goTo":"http://localhost:8092/type-echo.html"}'/></info></step><step><cmd>Start recording.</cmd><info><data name="doc-detective" value='step {"record":{"path":"stoprecord-object.webm","directory":".dd-output","overwrite":"true","name":"typing"}}'/></info></step><step><cmd>Click <uicontrol>Type here:</uicontrol>.</cmd><info><data name="doc-detective" value='step {"click":"Type here:"}'/></info></step><step><cmd>Type "Hello".</cmd><info><data name="doc-detective" value='step {"type":"Hello"}'/></info></step><step><cmd>Wait a moment, then stop the recording.</cmd><info><data name="doc-detective" value='step {"wait":1000}'/><data name="doc-detective" value='step {"stopRecord":{"name":"typing"}}'/></info></step></steps><data name="doc-detective" value="test end"/></taskbody></task>
JSON
YAML
{"$schema": "https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.json","tests": [{"testId": "capture-record-stoprecord-object","autoRecord": false,"runOn": [{"platforms": ["windows","mac","linux"],"browsers": {"name": "chrome","headless": true}}],"steps": [{"goTo": "http://localhost:8092/type-echo.html"},{"record": {"path": "stoprecord-object.webm","directory": ".dd-output","overwrite": "true","name": "typing"}},{"click": "Type here:"},{"type": "Hello"},{"wait": 1000},{"stopRecord": {"name": "typing"}}]}]}
# yaml-language-server: $schema=https://raw.githubusercontent.com/doc-detective/doc-detective/main/src/common/dist/schemas/spec_v3.schema.jsontests:- testId: capture-record-stoprecord-objectautoRecord: falserunOn:- platforms:- windows- mac- linuxbrowsers:name: chromeheadless: truesteps:- goTo: http://localhost:8092/type-echo.html- record:path: stoprecord-object.webmdirectory: .dd-outputoverwrite: "true"name: typing- click: "Type here:"- type: Hello- wait: 1000- stopRecord:name: typing