hbollon / IGopher

⚡ Powerful, customizable and easy to use Instagram dm bot. With TUI and Electron.js GUI! Using Selenium webdriver and Yaml configuration files. (WIP)
MIT License
160 stars 30 forks source link

Can't get past login screens, XPath selectors may be out dated #50

Closed chunjeff closed 1 year ago

chunjeff commented 1 year ago

Describe the bug Gets stuck at this screen and the login screen aswell image

To Reproduce Steps to reproduce the behavior:

  1. Launch the app
  2. Try to let Selenium login
  3. Gets stuck looking for the login button but also gets stuck afterward if you manually navigate to the credential screen, the username and password fill no problem though

Expected behavior Should find the login buttons and click them

Screenshots It looks like the selectors for the login button are outdated, perhaps Instagram updated their ui? image

The button's text is no longer 'Log In' but instead a child div within it now contains the text image

Error output image

Desktop (please complete the following information):

Additional context The selector "//*[text()='Log in']/ancestor::button" seems to work for me

chunjeff commented 1 year ago

The selector "//*[text()='Log in']/ancestor::button" seems to work for me

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.