Ankur

Results 130 issues of Ankur

A data race can occur when two tests perform an action on the same page but under two different threads. It occurs in ExecutionContext with its injectedScript parameter. Since we...

Related issue: https://github.com/grafana/xk6-browser/pull/467 Related comment: https://github.com/grafana/xk6-browser/pull/467#discussion_r944208960_ ## Background TestWaitForFrameNavigationWithinDocument currently performs a navigation within the same page. It has recently been expanded to check that the promises resolve/fulfil. The next...

enhancement
tests

Original community forum post: https://community.k6.io/t/xk6-browser-error-getting-devtools-url-context-deadline-exceeded/4410 xk6-browser version: https://github.com/grafana/xk6-browser/releases/tag/v0.4.0 Platform: Windows 11, WSL2, Ubuntu 20.04 ## Issue The user reported that they were unable to run the example that was posted...

bug
evaluate
user request

Create the documentation for the `ElementHandle` class as it is today (`v0.4.0`). This will be based on and following on from the work that was done in the following branches...

documentation
good first issue
hacktoberfest

Tested against: https://github.com/grafana/xk6-browser/commit/dbede120c63df43995813a847a25b0e66e289592 When trying to create a script for an example to go on the documentation page, I found that the `checkbox` wasn't being found and it would eventually...

bug
enhancement

Tested against: dbede120c63df43995813a847a25b0e66e289592 When `ClearCookies` is called on `BrowserContext` it panics and fails to clear the cookies ending with the following error: ``` unable to clear cookies permissions: invalid context...

bug

Tested against: dbede120c63df43995813a847a25b0e66e289592 It seems that the array does not start at index 0, and instead starts at index 1. In PW it correctly starts at 0. I think there's...

bug

Tested against: https://github.com/grafana/xk6-browser/commit/dbede120c63df43995813a847a25b0e66e289592 The `browser.isConnected` function doesn't seem to fully work as expected -- it doesn't correctly detect that there is no browser process running and therefore no valid CDP...

bug

Tested against: https://github.com/grafana/xk6-browser/commit/dbede120c63df43995813a847a25b0e66e289592 I was expecting `setDefaultTimeout` to timeout but the timeout didn't occur when I ran the following script: In the below code it works against `localhost:8080`, which is...

bug

TODO: [xk6-browser docs](https://k6.io/docs/javascript-api/xk6-browser/locator/dblclick/) imply that this `dblclick` issue is about locators, however, it's the behavior in our extension in general. --- Tested against: https://github.com/grafana/xk6-browser/commit/dbede120c63df43995813a847a25b0e66e289592 The method `dblclick` on `locator` only...

bug