-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Labels
Description
Checklist before reporting
- I have searched for similar issues and didn't find a duplicate.
- I have updated to the latest version of Patchright to verify the issue still exists.
- I have verified that this issue does not occur when using Playwright directly.
Patchright Version
1.58.1
Operating System
Windows
Bug Description
--disable-blink-features=AutomationControlled
Should be set by default
Test file (self-contained)
Code:
if __name__ == '__main__':
with sync_playwright() as p:
launch_kwargs = {
"headless": False,
"args": [
#"--disable-blink-features=AutomationControlled",
],
}
browser = p.chromium.launch(**launch_kwargs)
context = browser.new_context()
page = context.new_page()
page.goto("https://bot.sannysoft.com/")
print(page.title())
page.wait_for_timeout(30000)
browser.close()
Result:
With enabled arg:
Expected Behavior
No response
Actual Behavior
No response
Reactions are currently unavailable