You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I connect everything according to the example, including the Stealth Plugin. To try, I log in to https://google.com, but something goes wrong and the site won’t let me through. I’m writing because I don’t understand what the problem could be, I tried it in JavaScript and it worked.
Code:
using BrowserFetcher browserFetcher = new BrowserFetcher();
await browserFetcher.DownloadAsync();
PuppeteerExtra extra = new PuppeteerExtra().Use(new StealthPlugin()).Use(new AnonymizeUaPlugin());
using var browser = await extra.LaunchAsync(new LaunchOptions()
{
Headless = false,
ExecutablePath = "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
UserDataDir = $"D:\\program\\ProjectsVS\\DiscordBot\\Cookie\\{numberAcc}",
DefaultViewport = null,
Args = new[] {
"--disable-extensions-except=D:\\program\\ProjectsVS\\DiscordBot\\Extensions\\2captcha-solver-main",
"--load-extension=D:\\program\\ProjectsVS\\DiscordBot\\Extensions\\2captcha-solver-main",
"--no-sandbox",
"--disable-GPU",
$"--proxy-server={addressProxy}:{portProxy}"
}
});
using var page = await browser.NewPageAsync();
await page.SetUserAgentAsync(userAgent);
await page.AuthenticateAsync(new Credentials(){
Username = loginProxy,
Password = passwordProxy
});
await page.GoToAsync(InviteLink, waitUntil: WaitUntilNavigation.DOMContentLoaded);
Response from the site: "This browser or app may not be secure. Learn more
Try using a different browser. If you're already using a supported browser, you can try again to sign in."
The text was updated successfully, but these errors were encountered:
Hello, I connect everything according to the example, including the Stealth Plugin. To try, I log in to https://google.com, but something goes wrong and the site won’t let me through. I’m writing because I don’t understand what the problem could be, I tried it in JavaScript and it worked.
Code:
Response from the site: "This browser or app may not be secure. Learn more
Try using a different browser. If you're already using a supported browser, you can try again to sign in."
The text was updated successfully, but these errors were encountered: