import time
from pywinauto.application import Application
import os
#Installer path
pycharm_exe = r"G:SoftwarewaJetBrains PyCharmJetBrains PyCharm Professional 2023.1 [FileCR]JetBrains PyCharm Professional 2023.1pycharm-professional-2023.1.exe"
app = Application(backend="uia").start(pycharm_exe)
# Wait for window to appear
while True:
if app.PyCharmSetup.exists() == True:
break
#activate the window
app.PyCharmSetup.window()
# app.PyCharmSetup.print_control_identifiers()
app.PyCharmSetup.Next.click()
#click on next again
app.PyCharmSetup.Next.click()
#click on next once again
#app.PyCharmSetup.print_control_identifiers()
hi there, i am trying to automate PyCharm installation but there is a problem with script when it reaches where it starts to click on “Next” button it takes about 3 sec to click next button again…. how do i get rid of these delays between clicks?
New contributor
user24974510 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.