Skip to content

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

@arunrona

Description

@arunrona

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions