Niitch
Niitch
@dgozman For more context, here is how the wrapper is actually used: ```typescript // step-definitions/example.spec.ts import { test as base } from "@playwright/test"; import GherkinWrapper from "gherkin-wrapper"; // Add fixtures...
@dgozman It is indeed a runtime wrapper that does not generate code. The playwright wrapper is defined [here](https://github.com/Niitch/gherkin-wrapper/blob/feature/location/src/playwright/index.ts) The solution you suggest is not practicable. It would work, but I...
I knew about [vitalets/playwright-bdd](https://github.com/vitalets/playwright-bdd), but I wanted to try a non-codegen approach. I want a very playwright-native-like experience for the user. I'll search about implementing codegen and sourcemaps.
@vitalets @mattjennings The soutions you suggested are good but only work test steps. I have finally found a way to pass custom location objects for every functions of the test...