mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
Nyoba selenium
This commit is contained in:
parent
1498863417
commit
7f04a947ee
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ async def pahe(_, msg):
|
|||
chromedriver_autoinstaller.install()
|
||||
os.chmod("/MissKaty/chromedriver", 755)
|
||||
chrome_options = webdriver.ChromeOptions()
|
||||
chrome_options.binary_location = "/usr/bin/google-chrome"
|
||||
chrome_options.add_argument("--headless")
|
||||
chrome_options.add_argument("--no-sandbox")
|
||||
chrome_options.add_argument("--disable-dev-shm-usage")
|
||||
|
|
|
|||
Loading…
Reference in a new issue