-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Add context "platform" option #6070
Comments
Could you share more about your use case? |
To override userAgent for chromium playwright uses This call supports additional So, I am propose to add new
|
I understand that, I was curious about your use case that requires it. What is your setup? |
We need stealth mode, when we overriding user agent we need to override
platform too, because in our case we become detected as bot.
…On 04.04.2021 23:30, Pavel Feldman wrote:
I understand that I was curious about your use case that requires it.
What is your setup?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6070 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAH2MSAH7PBT2E4Y2ZKWUILTHDD77ANCNFSM42LHKFQQ>.
|
Also, could you, pls, take a look at issue #6026 again? |
We don't prioritize features for scrapers and spammers - if property decided to detect bots, we respect their choice. At the same time, you can use https://playwright.dev/docs/api/class-chromiumbrowsercontext#chromiumbrowsercontextnewcdpsessionpage to issue arbitrary cdp commands should you choose to. |
Respect to you for the choice, it's very reasonable. But the situation may have changed in the last 2 years, we are in the cyber-security business that offer software to check if an URL links to phishing websites, using automated browsers of cause, nowadays we are seeing more and more phishing sites are using bot detection to evade security checks, so beside the traditional benign sites vs. scrapers game, now we have this new kind of malicious sites vs. security guard game. Maybe time to re-consider the choices? |
Hi.
Chrome
Emulation.setUserAgentOverride
devtools call supportsplatform
option.Is it possible to add this option to the new context constructor options, in order to have this setting applied automatically to all pages, opened by thus context?
The text was updated successfully, but these errors were encountered: