grafana / k6-docs

The k6 documentation website.
https://grafana.com/docs/k6/latest/
87 stars 221 forks source link

Add setInputFiles docs for browser module #1528

Closed ankur22 closed 7 months ago

ankur22 commented 7 months ago

What?

Add setInputFiles docs for browser module. The API is available in frame, page and elementHandle.

Checklist

Related PR(s)/Issue(s)

https://github.com/grafana/xk6-browser/pull/1097 & https://github.com/grafana/xk6-browser/pull/1244

ankur22 commented 7 months ago

@heitortsergent i'm merging this into make the next release, but please add any more suggestions and I will add them to a new PR.

heitortsergent commented 7 months ago

@ankur22 I think it would be great if we had an example with a real use case, whether that's using the experimental fs module, or any other use case we think might be common.

What do you think? I could open a separate issue for it.

ankur22 commented 7 months ago

@ankur22 I think it would be great if we had an example with a real use case, whether that's using the experimental fs module, or any other use case we think might be common.

That's a good idea, and I already have one ready to be added into the docs. I'll create a PR soon.

heitortsergent commented 7 months ago

@ankur22 thank you!! 🙇