Anyone automating python with Gologin or Dolphin anty?

SeoIsArt

Elite Member
Jr. VIP
Joined
Nov 5, 2023
Messages
2,059
Reaction score
485
I am able to do automation on browsers like edge and chrome with python and playwright. But whenever I try to automate with anti detect browsers simple tasks like open browser and go to url it gives errors. It opens browser but doesnt do any steps after that. For playwright + Gologin it gives incorrect websocket URL , and for playwright + dolphin wring debugger address. What am I doing wrong ? I tried so many ways , but no chance.
 
i'm using morelogin, javascript and playwright, check the needed header for the api to launch the browsers
 
If you need to automate Dolphin, you can use the Selenium library. First, the profile is launched via API, you will receive in the response the port on which the profile is launched, then connect to the profile.
 
you can use Puppeteer to connect with dolphin.

From their website

Code:
const puppeteer = require(‘puppeteer-core’);


(async () => {


// YOUR port HERE


const port = 50568;


// YOUR wsEndpoint HERE


const wsEndpoint = ‘/devtools/browser/c71c1a9d-f07c-4dd9-84a9-53a4c6df9969’;


// DIRECT CONNECTION


const browser = await puppeteer.connect({


browserWSEndpoint: `ws://127.0.0.1:${port}${wsEndpoint}`


});


// FROM THIS POINT, AUTOMATE WHATEVER YOU WANT


// FOR EXAMPLE, TAKE A SCREENSHOT OF GOOGLE


const page = await browser.newPage();


await page.goto(‘https://google.com’);


await page.screenshot({ path: ‘google.png’ });


await browser.close();


})();
 
I am able to do automation on browsers like edge and chrome with python and playwright. But whenever I try to automate with anti detect browsers simple tasks like open browser and go to url it gives errors. It opens browser but doesnt do any steps after that. For playwright + Gologin it gives incorrect websocket URL , and for playwright + dolphin wring debugger address. What am I doing wrong ? I tried so many ways , but no chance.
If you are using javascript i will suggest you to use cypress automation tool for testing bcz its open source and very fast ,support browser like chrome and explorer and ibuilt browser is electron
 
Back
Top