No 'k6/x/browser' to import?

There doesn’t appear to be any type info for xk6-browser in the @types/k6 module. Should I be looking somewhere else?

Hi @stefanba3,

What version of xk6-browser are you running and where did you get the binary from?

The Get Started guide on xk6-browser might also help.

Cheers,
Ankur

Hi @ankur,

I think he means that he is using Typescript and that there are no type definitions for the xk6-browser extension yet, like there is for k6 (@types/k6 - npm)

Cheers,
Tim.

2 Likes

@ankur, @ticup,

Exactly, that is what I mean. Do the xk6-browser TS type definitions exists somewhere else?

Stefan

Hi @ticup,

Sorry, i misunderstood your question, and for the late reply. There are no type definitions for xk6-browser at the moment. We have an open issue #282 but we’ve not had time to move this forward still.

Cheers,
Ankur

1 Like