Skip to content

Commit

Permalink
Add TODO to move JSHandleAPI to concrete
Browse files Browse the repository at this point in the history
This is too difficult to do easily right now.
  • Loading branch information
inancgumus committed Oct 6, 2023
1 parent 3a92e95 commit d49e00a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import (
)

// JSHandleAPI is the interface of an in-page JS object.
//
// TODO: Find a way to move this to a concrete type. It's too difficult to
// do that right now because of the tests and the way we're using the
// JSHandleAPI interface.
type JSHandleAPI interface {
AsElement() *ElementHandle
Dispose()
Expand Down

0 comments on commit d49e00a

Please sign in to comment.