robbrad / UKBinCollectionData

UK Council Bin Collection Data Parser Outputting Bin Data as a JSON
MIT License
114 stars 75 forks source link

button is not clickable at point #637

Closed andrewtoddd closed 4 months ago

andrewtoddd commented 5 months ago

Name of Council

Gateshead Council

Issue Information

when running against gateshead council standalone terminal selenium errors with button not clickable. have ran against other councils Leeds, Northumberland and they worked correctly

python3 collect_data.py GatesheadCouncil https://www.gateshead.gov.uk/ -s -p "XXX XX" -n XX -w http://IP:4444

An error occurred: Message: element click intercepted: Element is not clickable at point (90, 458). Other element would receive the click: (Session info: chrome-headless-shell=122.0.6261.69) Stacktrace:

Traceback (most recent call last): File "/home/andrew/UKBinCollectionData/UKBinCollectionData/uk_bin_collection/uk_bin_collection/collect_data.py", line 122, in print(app.run()) File "/home/andrew/UKBinCollectionData/UKBinCollectionData/uk_bin_collection/uk_bin_collection/collect_data.py", line 96, in run return self.client_code( File "/home/andrew/UKBinCollectionData/UKBinCollectionData/uk_bin_collection/uk_bin_collection/collect_data.py", line 115, in client_code return get_bin_data_class.template_method(address_url, **kwargs) File "/home/andrew/UKBinCollectionData/UKBinCollectionData/uk_bin_collection/uk_bin_collection/get_bin_data.py", line 78, in template_method bin_data_dict = self.parse_data( File "/home/andrew/UKBinCollectionData/UKBinCollectionData/uk_bin_collection/uk_bin_collection/councils/GatesheadCouncil.py", line 49, in parse_data findAddress.click() File "/home/andrew/.cache/pypoetry/virtualenvs/uk-bin-collection-koTV66Ka-py3.10/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 93, in click self._execute(Command.CLICK_ELEMENT) File "/home/andrew/.cache/pypoetry/virtualenvs/uk-bin-collection-koTV66Ka-py3.10/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 394, in _execute return self._parent.execute(command, params) File "/home/andrew/.cache/pypoetry/virtualenvs/uk-bin-collection-koTV66Ka-py3.10/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 344, in execute self.error_handler.check_response(response) File "/home/andrew/.cache/pypoetry/virtualenvs/uk-bin-collection-koTV66Ka-py3.10/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element is not clickable at point (90, 458). Other element would receive the click: (Session info: chrome-headless-shell=122.0.6261.69) Stacktrace:

Verification

dp247 commented 5 months ago

Looks like its getting stuck on some kind of popup for accepting cookies