mirror of
https://github.com/RoyalnetworkTR/turkanime-client.git
synced 2026-09-25 01:39:54 +03:00
16 lines
458 B
Python
16 lines
458 B
Python
from selenium import webdriver
|
|
from selenium.webdriver.chrome.options import Options
|
|
import traceback
|
|
|
|
binary = r"C:\Users\bkese\.turkanime_chromium\1590396\chrome-win\chrome.exe"
|
|
print('Using binary:', binary)
|
|
opts = Options()
|
|
opts.binary_location = binary
|
|
try:
|
|
d = webdriver.Chrome(options=opts)
|
|
print('Started, browserName=', d.capabilities.get('browserName'))
|
|
d.quit()
|
|
except Exception as e:
|
|
traceback.print_exc()
|
|
print('FAILED:', e)
|