Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@zeoxisca
Copy link

@zeoxisca zeoxisca commented Apr 2, 2025

  • beautify tool key, use global const key to constraint tool name
  • add createTab\evaluate\selector\screenshot handler functions

@Fly-Playgroud
Copy link
Collaborator

LGTM

Copy link
Collaborator

@Fly-Playgroud Fly-Playgroud left a comment

Choose a reason for hiding this comment

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

I suggest splitting Pr first and submitting it in batches. 'beautify tool key', this item make a single pr.

@Fly-Playgroud
Copy link
Collaborator

I suggest turning off this PR. You can add a new PR except for createTab.

@Fly-Playgroud Fly-Playgroud self-requested a review April 11, 2025 07:30
@zeoxisca
Copy link
Author

Done, createTab removed

@zeoxisca zeoxisca changed the title feat(tools): createTab\evaluate\selector\screenshot feat(tools): evaluate\selector\screenshot Apr 13, 2025
tools/common.go Outdated
Comment on lines 199 to 201
if element == nil || element.Object == nil {
return nil, errors.New(fmt.Sprintf("Failed to find element: %s", selector))
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

the same as fill handler

@Fly-Playgroud Fly-Playgroud merged commit 7ad6c51 into go-rod:main Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants