We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcdc3bc commit fc2c290Copy full SHA for fc2c290
src/lmao/ms_copilot/ms_copilot_api.py
@@ -475,12 +475,15 @@ def prompt_send(
475
476
# Count number of bot's responses
477
bot_messages_len_start = self._conversation_parse("count")
478
- time.sleep(0.1)
479
logging.info(f"Found {bot_messages_len_start} bot messages")
+ time.sleep(0.1)
480
481
# Submit
482
logging.info("Clinking on submit button")
483
- self.driver.execute_script(_GET_SUBMIT_BUTTON).click()
+ submit_button = self.driver.execute_script(_GET_SUBMIT_BUTTON)
484
+ submit_button.focus()
485
486
+ submit_button.click()
487
488
# Wait until bot starts responding
489
logging.info("Waiting for bot to start responding")
0 commit comments