- Tags:: [[Flood Element]] [[Flood (company)]] [[Load Testing]]
- Date Created: [[2020-09-08]]
- URL: https://element.flood.io/docs/guides/script#steponce
- `step.once()` is a type of step that will run exactly one time, regardless of where it is placed.
- This can be used to create a setup step that is run at the very beginning of the test.
- ```javascript
//This only runs at the start of the test.
step.once('Start', async (browser) => {
console.log('Beginning of test')
})```