-
Notifications
You must be signed in to change notification settings - Fork 55
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
Message: no such element: Unable to locate element: {"method":"css selector","selector":"span"} #3
Comments
@oddtazz This is a tricky one for me because I cannot reproduce your error with my computers, which means there is likely something different/unique about your WhatsApp and HTML that I have not encountered yet. I'm unable to provide any precise fixes for this unless I can see some of the HTML to investigate the cause. If you are OK sharing your HTML with private info removed, then run the If you are not OK with this approach, then an easy workaround is replacing line 212 of
|
Hey I have created a secret gist with the information you asked for https://gist.githubusercontent.com/oddtazz/10bb6e2111c392d960c53db6146efff4/raw/86f985f04b90c81f54e5ef24f92653b14dd260cf/redacted.html |
@oddtazz I'm not seeing anything out of the ordinary. Any chance you have chrome extensions installed that may be modifying the DOM? Also, did you try the other workaround I noted above by setting the offending line to an empty string: |
I have no chrome extensions, chromedriver launches a completely different instance of chrome doesn't it. I also set So here's what I am thinking: |
We are using the same version of Chrome. Thanks for checking on multiple machines and ruling out hardware. I wonder if WhatsApp is changing some of its UI based on your locale? Can we compare localization?
Also just to clarify setting
|
@oddtazz Checking in to see if the above suggestion resolved the issue for you? |
Hey sorry for the late reply Eddy, My The solution that worked for me was to make my |
@oddtazz Thanks for confirming! Quick question, did you solve this only by setting I added this line to
HTTP Bin shows: |
I managed to break this again today with accepted languages as Maybe language is not the issue in this case, but that would lead to a bigger puzzle. What changed between 6 days ago and today? Specially since chrome version is the same. I would say treat my issue as an edge case. Maybe I am doing something very different compared to others. (It would be helpful to know in what way though :p ) Regardless keep up the good work! |
@oddtazz , just check to make sure the chat its breaking on is not blocked. Mine was breaking and it wasn't a language issue . It broke on a blocked chat. |
Yep, I've got the same issue of this breaking on a contact that I've blocked. |
So do I, when I deleted the blocked contact the proses continue. But I still get the issue. Dunno still finding the another issue |
And mine issue is like its runs perfectly and at the end it asks me to select the format like csv,txt or html and when is select any format it runs and asks me that i want to export any other chat and after when i click no it closes but when i open the exported chat it only shows the header it doesn't have any content please help |
Closing this bug report as this project is not maintained anymore. |
89.0.4389.82
Python 3.8.2
The script opens chrome and starts going through messages and crashes randomly at different messages.
Language is set to english
The text was updated successfully, but these errors were encountered: