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

could not be scrolled into view #97

Open
weihao opened this issue Jan 13, 2023 · 1 comment
Open

could not be scrolled into view #97

weihao opened this issue Jan 13, 2023 · 1 comment

Comments

@weihao
Copy link

weihao commented Jan 13, 2023

I am able to reproduce the errror

  File "E:\Git\debbit\src\program_files\merchants\amazon_gift_card_reload.py", line 43, in web_automation
    driver.find_element_by_xpath("//*[contains(text(),'" + merchant.usr + "')]").click()  # click username in case we're on the Switch Accounts page
  File "C:\Users\omitted\.virtualenvs\src-9OX43Bra\lib\site-packages\selenium\webdriver\remote\webelement.py", line 81, in click
    self._execute(Command.CLICK_ELEMENT)
  File "C:\Users\omitted\.virtualenvs\src-9OX43Bra\lib\site-packages\selenium\webdriver\remote\webelement.py", line 710, in _execute
    return self._parent.execute(command, params)
  File "C:\Users\omitted\.virtualenvs\src-9OX43Bra\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 424, in execute
    self.error_handler.check_response(response)
  File "C:\Users\omitted\.virtualenvs\src-9OX43Bra\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementNotInteractableException: Message: Element <script> could not be scrolled into view
Stacktrace:
RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:182:5
ElementNotInteractableError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:292:5
webdriverClickElement@chrome://remote/content/marionette/interaction.sys.mjs:150:11
interaction.clickElement@chrome://remote/content/marionette/interaction.sys.mjs:119:11
clickElement@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:198:29
receiveMessage@chrome://remote/content/marionette/actors/MarionetteCommandsChild.sys.mjs:86:31


E:\Git\debbit\src\debbit.py:594: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  if driver.find_element_by_id('status').text == 'dom-ready':
E:\Git\debbit\src\debbit.py:601: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  cookies = driver.find_element_by_id('content').text
INFO: 2023-01-13 02:49:33,128 1 of 5 capital_one_amazon_gift_card_reload attempts done, trying again in 60 seconds
    It does seem abandoned. I can't get Debbit to work. Even after downgrading to Selenium version 4.2.0, I get this error:
selenium.common.exceptions.ElementNotInteractableException: Message: Element <script> could not be scrolled into view
Stacktrace:

@Tanman897 is there an alternative to Debbit? Or is the best approach for the open source community to fork Debbit repo and fix its issues?

Originally posted by @MingoDynasty in #85 (comment)

@z80b80
Copy link

z80b80 commented Jan 16, 2023

I am also experiencing this problem. Is this with Selenium or did amazon change the page?

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

2 participants