Table of Contents

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:

  1. automationId → id=...
  2. testId → css=[data-testid="..."]
  3. cssSelector → css=...
  4. xpath → xpath=...
  5. name → name=...
  6. text / role+label → linkText=... or css=...
  7. label → css=[aria-label="..."]

Methods

Export(CressFlow)

Convert flow to a Selenium IDE .side JSON string.

public string Export(CressFlow flow)

Parameters

flow CressFlow

Returns

string

Export(NormalizedFlow)

Convert a NormalizedFlow to a Selenium IDE .side JSON string.

public string Export(NormalizedFlow flow)

Parameters

flow NormalizedFlow

Returns

string