Playwright · Function
test.step
test.step() groups test actions into a named report step. It supports nesting, returned values, and options for error location and report details.
Last updated
- Since
- v1.10
Syntax
test.step(title, body, options?)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
TestSteptest.step.skiptestInfo.attachtestStepInfo.skipTracing.group