request.timing()
returns null
when working with page.on('request')
#4303
Labels
request.timing()
returns null
when working with page.on('request')
#4303
Brief summary
While implementing
page.on('request')
it became apparent that there was a shortfall with howrequest.timing()
was implemented. In Playwright this method will wait for the response and timing data to be received so that when it is called from thepage.on('request')
handle it returns a valid non-null value. At the moment k6 browser doesn't wait for the response from the website under test and returnsnull
straight away.k6 version
NA
OS
NA
Docker version and image (if applicable)
NA
Steps to reproduce the problem
NA
Expected behaviour
Returns a valid
timing
object.Actual behaviour
Returns
null
.The text was updated successfully, but these errors were encountered: