-
Notifications
You must be signed in to change notification settings - Fork 1.4k
How to connect SeleniumBase to already opened window of custom driver(using Driver()) it connects via Selenium #2729
-
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
Beta Was this translation helpful? Give feedback.
All reactions
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
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 1
-
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.)
Beta Was this translation helpful? Give feedback.
All reactions
-
🎉 1
-
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Hey @STARKILLER-1 Can you share the code to connect seleniumbase with Dolphin {anty} browser.? i am also working on a similar project.
Beta Was this translation helpful? Give feedback.