Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chatGPT's reply can't be pared #16

Open
HnlyWk opened this issue Aug 18, 2024 · 0 comments
Open

chatGPT's reply can't be pared #16

HnlyWk opened this issue Aug 18, 2024 · 0 comments

Comments

@HnlyWk
Copy link

HnlyWk commented Aug 18, 2024

My message was successfully sent to chatGPT, but the code didn't seem to parse chatGPT's reply correctly and got stuck waiting for it.
Specifically, the code stuck in the following line loop, the second condition of find_elements always returns 0, even though the browser has already seen the reply message from GPT:

       while len(self.driver.find_elements(by=By.CSS_SELECTOR, value='div.text-base')[-1].find_elements(
                by=By.CSS_SELECTOR, value='button.text-token-text-tertiary')) < 1:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant