79195844

Date: 2024-11-16 18:50:59
Score: 4
Natty:
Report link

i am Unable to use non headless mode using selenium webdriver on render deployment in my local machine its properly working, this is my code please tell me how to work-

    chrome_options = webdriver.ChromeOptions()
    chrome_options.add_argument(f"user-data-dir={CHROME_PROFILE_PATH}")
    chrome_options.add_argument("--headless")
    chrome_options.add_argument("--disable-gpu")
    chrome_options.add_argument("--no-sandbox")
    chrome_options.add_argument("--disable-dev-shm-usage")

with webdriver.Chrome(service=Service(ChromeDriverManager().install()), options=chrome_options) as driver:

Reasons:
  • Blacklisted phrase (1.5): tell me how to
  • RegEx Blacklisted phrase (2.5): please tell me how
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Deep Saha