Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Integration of AI #3403

tylerdurden4285 started this conversation in Ideas
Discussion options

I've been tinkering with dendrite which is similar to seleniumbase in some degrees but has Ai logic to find elements and take actions on the page for scraping and automation. I am wondering if there's any potential interest for some Ai to be integrated into seleniumbase in the future?

https://github.com/dendrite-systems/

https://docs.dendrite.systems/introduction

You must be logged in to vote

Replies: 2 comments

Comment options

SeleniumBase already has various AI for code generation.
I demoed it in this video: https://www.youtube.com/watch?v=Mr90iQmNsKM
You can use The Recorder to instantly generate scripts from manual actions.

You can call assert_no_404_errors() to instantly find all the broken links on a page:

self.assert_no_404_errors()

You can use other SeleniumBase tools for:

  • Generating page objects.
  • Translating scripts into multiple spoken languages.
  • Converting Python scripts into BDD tests.
  • Bypassing CAPTCHAs and evading bot-detection.

You also have the Stealth Recorder: sbase recorder --uc

Lots of A.I. already included with SeleniumBase.

You must be logged in to vote
0 replies
Comment options

Rewriting this because somehow I didn't send it before.

What I mean by AI is the ability to use your own AI account like openai or anthropic to prompt it for elements/actions.

Dendrite example:

`

browser = Dendrite(auth=["instagram.com"])

browser.goto(
"https://www.instagram.com/direct/inbox/",
expected_page="Instagram DM inbox"
)
browser.click("Conversation at the top of the the sidebar")

posts = browser.ask(
"Extract the posts sent to me in this conversation",
type_spec: Posts
)

print(posts.items)
`

So in this example the user doesn't need to know the exact elements selector or even multiple steps.

"Conversation at the top of the the sidebar"
"Extract the posts sent to me in this conversation"
The user just tells dendrite what to do and it will find it and do it. It's rather useful and I think a powerful addition to seleniumbase.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /