Skip to content
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

Faing issue in headless mode #1931

Open
vijaygohil1223 opened this issue Jun 24, 2024 · 0 comments
Open

Faing issue in headless mode #1931

vijaygohil1223 opened this issue Jun 24, 2024 · 0 comments

Comments

@vijaygohil1223
Copy link

vijaygohil1223 commented Jun 24, 2024

Hi,
I am using undetected-chromedriver with https://www.walmart.com/.
it working fine without headless mode but when I set argument for this i face robot detection issue.

import undetected_chromedriver as uc
from seleniumwire import webdriver
capabilities = webdriver.DesiredCapabilities.CHROME
options = uc.ChromeOptions()
options.add_argument("--headless")
driver = uc.Chrome(options = options , desired_capabilities=capabilities)
driver.get('https://www.walmart.com/')

2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant