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

Fix loading detection not working #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on May 25, 2023

  1. Fix loading detection not working

    Loading detection as it was originally using querry_selector(.stop).is_enabled() didn't work on my machine, perhaps bing chat website was changed and that button doesnt have the enabled attribute.
    I tried to turn condition to is_visible(), but the button didnt have that attribute either.
    During debugging this I found that button appears on typing indicator "panel" (cib_typing_indicator), and it changes itself when typing response, adds cancelable attribute to its element.
    It is None when typing is not active (i.e before or after typing was completed) 
    Seems to work more or less reliable on my machine.
    The time.sleep(7) in get_last_message() probably should be changed to some computed value as it may depend on CPU/Network speed, but it was a quick hack.
    replikvlt committed May 25, 2023
    Configuration menu
    Copy the full SHA
    ee47685 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2023

  1. Configuration menu
    Copy the full SHA
    ba35a3b View commit details
    Browse the repository at this point in the history