-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
browser restarts after clicking on settings button #10
Comments
Same problems with browser build: 21.8.0.1373 |
Similar problem. browser: 22.3.1.922 stable (64-bit) |
Could you please give me a code snippet for this case ? |
binary_driver_file = './_bin/yandexdriver'
options = webdriver.ChromeOptions()
service = Service(binary_driver_file)
driver = webdriver.Chrome(service=service, options=options)
driver.get('https://yandex.ru')
sleep(300) |
Не нашел, как именно автоматизировать нажатие на кнопку настроек. |
mstsc_LNFf6HV5gv.mp4 |
Нашел от чего зависит: Яндекс.Браузер 22.3.3.855 Python: def run_browser():
driver_path = 'C:/yandexdriver/yandexdriver.exe'
browser_path = 'C:/Users/test/AppData/Local/Yandex/YandexBrowser/Application/browser.exe'
options = webdriver.ChromeOptions()
options.binary_location = browser_path
prefs = {
"ya.sync_state_view": {"show": False},
}
options.add_experimental_option("prefs", prefs)
b = webdriver.Chrome(
executable_path=driver_path,
options=options,
)
return b
b = run_browser() |
browser restarts after clicking on settings button
browser build: 21.6.4.787
yandexdriver build: 21.6.0.620
win10
The text was updated successfully, but these errors were encountered: