Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare ElementHandle for async migration #1335

Merged
merged 32 commits into from
May 16, 2024

Conversation

inancgumus
Copy link
Member

What?

Turns panics into errors and reorders the methods for consistency.

Why?

To make the async migration more reliable.

Checklist

  • I have performed a self-review of my code
  • I have added tests for my changes
  • I have commented on my code, particularly in hard-to-understand areas

Related PR(s)/Issue(s)

#1296

@inancgumus inancgumus added refactor mapping k6 browser to Goja mapping related. stability runtime stability improvements labels May 15, 2024
@inancgumus inancgumus self-assigned this May 15, 2024
@inancgumus inancgumus changed the base branch from main to async/locator May 15, 2024 12:49
@inancgumus inancgumus force-pushed the async/elementhandle-prepare branch from b2a362a to 8a72a89 Compare May 15, 2024 13:29
@inancgumus inancgumus marked this pull request as ready for review May 15, 2024 13:33
@inancgumus inancgumus requested a review from ankur22 May 15, 2024 13:33
Base automatically changed from async/locator to main-async May 16, 2024 09:51
@inancgumus inancgumus force-pushed the async/elementhandle-prepare branch from 8a72a89 to 5c968cb Compare May 16, 2024 09:52
Copy link
Collaborator

@ankur22 ankur22 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

common/element_handle.go Show resolved Hide resolved
@inancgumus inancgumus merged commit 5711416 into main-async May 16, 2024
14 checks passed
@inancgumus inancgumus deleted the async/elementhandle-prepare branch May 16, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mapping k6 browser to Goja mapping related. refactor stability runtime stability improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants