-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Soumyajit Basu (C0r3f!nd3r) edited this page Feb 23, 2020
·
5 revisions
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt-get update
sudo apt-get install google-chrome-stable
chrome_options = Options()
chrome_options.add_argument('--headless')
chrome_options.add_argument('--no-sandbox')
chrome_options.add_argument('--disable-dev-shm-usage')
driver = webdriver.Chrome('/path/to/your_chrome_driver_dir/chromedriver',chrome_options=chrome_options)
virtualenv -p python3 venv
self.driver = chromeDriver.set_chromedriver_object(chromeArgs=['--headless',
'--no-sandbox',
'--disable-dev-shm-usage'])
To install the module using Github execute the following command
pip install git+git://github.com/flu-x/flexibox.git@develop