Skip to content
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

ALT + F is not working for notepad in python #44

Open
arunrona opened this issue May 1, 2020 · 0 comments
Open

ALT + F is not working for notepad in python #44

arunrona opened this issue May 1, 2020 · 0 comments

Comments

@arunrona
Copy link

arunrona commented May 1, 2020

Someone help me to fix hotkey combination of "alt + n" and "alt + f" after launching notepad in windows 10 with scale 100%

Code:
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.keys import Keys
driver1 = webdriver.Remote(
command_executor='http://localhost:2121',
desired_capabilities={
"debugConnectToRunningApp": 'false',
"keyboardSimulator": '0',
"app": r"C:\Windows\System32\notepad.exe"
})
combine_keys = ActionChains(driver1)
combine_keys.key_down(Keys.ALT).send_keys('f').key_up(Keys.ALT).perform()

Tried modifying capability ""keyboardSimulator" 0/1 nothing works
using latest Winium.Desktop.Driver.exe

i tried few combination send_keys still no luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant