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

How to connect SeleniumBase to already opened window of custom driver(using Driver()) it connects via Selenium #2729

Answered by mdmintz
STARKILLER-1 asked this question in Q&A
Discussion options

I am trying to connect a Dolphin {anty} chromedriver to Seleniumbase?
I have a port to connect from dolphin api
Selenium works fine Here are some docks:
https://dolphin-anty.com/blog/api-avtomatizaciya-brauzera-chto-takoe-selenium-puppeteer-i-playwright/
DOWNLOAD LINK of custom driver here(selenium part of article hyperlink): https://intercom.help/dolphinteam/ru/articles/7127390-базовая-автоматизация-dolphin-anty

You must be logged in to vote

Pass the --remote-debugging-port via chromium_arg. Eg:

with SB(chromium_arg="--remote-debugging-port=7890") as sb:
 # ...

If that doesn't work, then the browser probably isn't compatible.

Replies: 2 comments 2 replies

Comment options

Pass the --remote-debugging-port via chromium_arg. Eg:

with SB(chromium_arg="--remote-debugging-port=7890") as sb:
 # ...

If that doesn't work, then the browser probably isn't compatible.

You must be logged in to vote
2 replies
Comment options

It works! but SB opens it's own empty driver window with data:, in address line. but when I type headless2=True all is good! Feels like magic! btw all actions work(clicks etc.)

Comment options

Thank you!

Answer selected by mdmintz
Comment options

Hey @STARKILLER-1 Can you share the code to connect seleniumbase with Dolphin {anty} browser.? i am also working on a similar project.

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
Q&A
Labels
None yet

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