mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-06 11:54:51 +00:00
Nyoba selenium
This commit is contained in:
parent
7f04a947ee
commit
4195264d3e
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ LOGGER = getLogger(__name__)
|
||||||
@app.on_message(filters.command(["pahe"], COMMAND_HANDLER))
|
@app.on_message(filters.command(["pahe"], COMMAND_HANDLER))
|
||||||
@capture_err
|
@capture_err
|
||||||
async def pahe(_, msg):
|
async def pahe(_, msg):
|
||||||
chromedriver_autoinstaller.install()
|
# chromedriver_autoinstaller.install()
|
||||||
os.chmod("/MissKaty/chromedriver", 755)
|
os.chmod("/MissKaty/chromedriver", 755)
|
||||||
chrome_options = webdriver.ChromeOptions()
|
chrome_options = webdriver.ChromeOptions()
|
||||||
chrome_options.binary_location = "/usr/bin/google-chrome"
|
chrome_options.binary_location = "/usr/bin/google-chrome"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue