chromium in python?
ChanceCook (2)

hi,i am wondering if there is any way to get chromium in python,it seems to only be working in bash and i am more comfortable in python.
any suggestions?
this has been resolved and here it is for those who had the same question.
if you want to make your own you can either fork this or go here https://selenium-python.readthedocs.io/
or copy this code into a new python script
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://google.com")

You are viewing a single comment. View All
Answered by ch1ck3n (2374) [earned 5 cycles]
View Answer
ChanceCook (2)

@JermeralBlevins no sandbox removes unnecessary privileges from processes that dont need them in chrome,also its one of the only ways to stabilize chrome,becasue without it,it will not work/run,if you find a better command please tell me!