-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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 like when the "Get the App" bar is visible #47
Conversation
Instead of calling Selenium method Click, get the Class of the Like Button and do a Click() with Javascript. If there’s an element above the Like Button, Selenium doesn’t hit it and throw an error, JS don’t.
Fixes #42 |
@vlntdds Insanely smart fix for this problem! |
Fix like when the "Get the App" bar is visible
This change was overwritten in the current I suspect the overwrite is causing issues that this PR solved to come back up. |
@blesson3 Thank you for pointing out! |
@timgrossmann I ran the script for a while and it seemed to fix the problem with clicking the like button! I see that you overwrote that line above to what the PR changed it to, see below why I don't think the solution is that easy in this case. https://github.com/timgrossmann/InstaPy/commit/ad6e579b56b464698cd13b01faca18291f639659 Now I'm running into another issue similar, but different:
See the following issue for discussion: https://github.com/timgrossmann/InstaPy/issues/1232 |
Instead of calling Selenium method Click, get the Class of the Like
Button and do a Click() with Javascript.
If there’s an element above the Like Button, Selenium doesn’t hit it
and throw an error, JS don’t.