Created
June 7, 2023 08:00
-
-
Save otstanteplz/f54c88ceba27349caac258ebc87c6e19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from appium import webdriver | |
from selenium.webdriver.common.by import By | |
desired_caps = {} | |
desired_caps["app"] = "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App" | |
desired_caps["platformName"] = "Windows" | |
desired_caps["deviceName"] = "WindowsPC" | |
desired_caps["sessionId"] = "A25DB09C-66CD-4099-98EF-57272962EBF6" | |
driver = webdriver.Remote("http://127.0.0.1:4723", desired_caps) | |
# driver.close_app() | |
# driver.session_id = "D78904C6-CEF8-4470-8A37-27781A54218C" | |
driver.find_element_by_name("Один").click() | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment