Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Théo Crevon <[email protected]>
  • Loading branch information
mstoykov and oleiade authored Jan 18, 2024
1 parent c9328f5 commit f3cd78d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release notes/v0.49.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ k6 `v0.49.0` is here 🎉! This release includes:
- gRPC experimental module being merged back
- being able to get the selection from an element in `k6/html`
- collect internal modules and outputs used by a script
- getting `k6/experimental/timers` ready to be stabalized
- getting `k6/experimental/timers` ready to be stabilized
- a bunch of internal changes, most of which are fixing lint errors, but also making MacOS test work :tada:


Expand Down Expand Up @@ -115,7 +115,7 @@ The migration is straightforward. Just replace `k6/experimental/grpc` with `k6/n

For a long time, you could get an Element from a Selection using the [`.get(index)`](https://grafana.com/docs/k6/latest/javascript-api/k6-html/selection/selection-get/), but you couldn't get back to a Selection from an Element.

This happens to not be a common case, but one that in some cases requires rewrite of the code quite a lot.
This is not a common case, but one that requires rewrite of the code quite a lot.

```javascript
let li = http.get("https://test.k6.io").html().find("li");
Expand Down

0 comments on commit f3cd78d

Please sign in to comment.