Class SeleniumIdeExporter
- Namespace
- Cress.Exporters.SeleniumIde
- Assembly
- Cress.Exporters.dll
Exports a CressFlow as a Selenium IDE v3 .side JSON file.
public sealed class SeleniumIdeExporter
- Inheritance
-
SeleniumIdeExporter
- Inherited Members
Remarks
The .side format is a JSON document understood by Selenium IDE 3.x.
HTTP steps (http.get, http.post, etc.) are emitted as executeScript
comment blocks because Selenium IDE has no native REST step — they require
manual wiring to an executeScript / fetch helper.
Selenium locator strategy priority:
- automationId →
id=... - testId →
css=[data-testid="..."] - cssSelector →
css=... - xpath →
xpath=... - name →
name=... - text / role+label →
linkText=...orcss=... - label →
css=[aria-label="..."]
Methods
Export(CressFlow)
Convert flow to a Selenium IDE .side JSON string.
public string Export(CressFlow flow)
Parameters
flowCressFlow
Returns
Export(NormalizedFlow)
Convert a NormalizedFlow to a Selenium IDE .side JSON string.
public string Export(NormalizedFlow flow)
Parameters
flowNormalizedFlow