Skip to content

Commit

Permalink
pump waiting time to 2 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
midays committed Apr 16, 2024
1 parent 1e6ab42 commit a1dc89d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/models/IDE/VisualStudioCode.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ def cmd_palette_exec_command(self, command: VSCodeCommandEnum):
Execute commands in the command palette in vscode
"""
self.press_keys("ctrl", "shift", "p")
time.sleep(1)
time.sleep(2)
self.type_text(command.value)
time.sleep(1)
time.sleep(2)
self.press_keys("enter")
time.sleep(1)
time.sleep(2)

def cmd_palette_open_file(self, file_name=None):
"""
Expand Down

0 comments on commit a1dc89d

Please sign in to comment.