Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
2

Driver is unable to open chrome using selenium webdriver

RamnathSaigal
RamnathSaigal

This is my code

import selenium
from selenium import webdriver
driver=webdriver.Chrome(executable_path=r"C:\Users\ramnath.kumar\Desktop\chromedriver")
driver.get("https://test.salesforce.com")

3 years ago
You are viewing a single comment. View All
7
paradox091201
paradox091201

from selenium import webdriver
from selenium.webdriver.chrome.options import Options

chrome_options = Options()
chrome_options.add_argument('--no-sandbox')
chrome_options.add_argument('--disable-dev-shm-usage')

driver = webdriver.Chrome(options=chrome_options)
driver.get("https://test.salesforce.com")

2 years ago
1
jabooticaba
jabooticaba

@paradox091201

Thank you, kind sir!

1 year ago