Delay not working in puppeteer

In the following code, the delay blocks arent being executed in real time, but the log says they were execute.
In the browser, I can see that there is 0 delay and the config isnt working properly

BLOCK:PuppeteerWaitForElement
  findBy = Selector
  identifier = "#Email"
ENDBLOCK

BLOCK:PuppeteerTypeElement
  findBy = Selector
  identifier = "#Email"
  text = @input.USERNAME
ENDBLOCK

BLOCK:PuppeteerClick
  findBy = Selector
  identifier = "#firstname"
ENDBLOCK

BLOCK:Delay
  milliseconds = 4000
ENDBLOCK

BLOCK:PuppeteerGetAttributeValue
  findBy = Selector
  identifier = "#search-container > span:nth-child(1) > span.error-message"
  SAFE
  => VAR @err
ENDBLOCK

BLOCK:PuppeteerClick
  findBy = Selector
  identifier = "#Email"
ENDBLOCK

BLOCK:PuppeteerPageKeyDown
  key = "ControlLeft"
ENDBLOCK

BLOCK:PuppeteerPageKeyPress
  key = "a"
ENDBLOCK

BLOCK:PuppeteerKeyUp
  key = "ControlLeft"
ENDBLOCK

BLOCK:PuppeteerPageKeyPress
  key = "Backspace"
ENDBLOCK

BLOCK:PuppeteerClick
  findBy = Selector
  identifier = "#firstname"
ENDBLOCK

BLOCK:Delay
  milliseconds = 4000
ENDBLOCK

You need to use the wait page load block, NOT the delay block! I think it’s called Wait for navigation or something like that.

thanks for the solution,

any guides on solving hcaptcha in puppeteer…?
@Ruri