Hi Team,
Facing two issues.
-
Try to run a script with JS OOP way, and getting a metrics initialization error.
-
The connection was forcibly closed most of the time
ERRO[0032] communicating with browser: read tcp 127.0.0.1:16979->127.0.0.1:16978: wsarecv: An existing connection was forcibly closed by the remote host. category=cdp elapsed=“0 ms” goroutine=30
ERRO[0033] process with PID 24516 unexpectedly ended: exit status 1 category=browser elapsed=“215 ms” goroutine=72
ERRO[0033] Uncaught (in promise) GoError: evaluating JS: read tcp 127.0.0.1:16979->127.0.0.1:16978: wsarecv: An existing connection was forcibly closed by the remote host.
running at github.com/grafana/xk6-browser/api.Page.Title-fm (native)
Guide me on this.