neopostmodern / wohnungsbot

Der Wohnungsbot — die Anwendung zum 2. Akt ("Das Versprechen des Bots") des Automatisierungsdramas in drei Akten "Von einem der auszog eine Wohnung in Berlin zu finden" von Clemens Schöll
https://wohnungsbot.de
GNU Affero General Public License v3.0
151 stars 27 forks source link

Cookie errors in the background #180

Open hoelger opened 1 year ago

hoelger commented 1 year ago

This only happens when I start the downloaded artifact (app image), started in terminal so I see the console output. This error did not pop up when I run the bot from code. In /home/georg/.config/Wohnungsbot/ do delete folder LocalStorage and both Cookies* files, then the cookie popup will show. Sometimes I have the feeling this error stalls the app. The second time the error kept poping up, but the bot would continue to write applications.

console output run 1

``` Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunZAxdL6/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/Suche/de/berlin/berlin/wohnung-mieten?haspromotion=false&price=-3000.0&livingspace=30.0-&pricetype=rentpermonth&geocodes=110000000101,110000000102,110000000202,110000000103,110000000104,110000000701 ```

console output run 2

``` Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email isElementInViewport([data-testid="uc-customize-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:127 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-customize-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:69:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email isElementInViewport([data-testid="uc-customize-button"]) called on non-existent element isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:127 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-customize-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:69:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email isElementInViewport([data-testid="uc-customize-button"]) called on non-existent element isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:127 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-customize-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:69:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email isElementInViewport([data-testid="uc-customize-button"]) called on non-existent element isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:127 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-customize-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:69:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email isElementInViewport([data-testid="uc-customize-button"]) called on non-existent element isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:127 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-customize-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:69:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email isElementInViewport([data-testid="uc-customize-button"]) called on non-existent element isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:127 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-customize-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:69:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email isElementInViewport([data-testid="uc-customize-button"]) called on non-existent element isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:127 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-customize-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:69:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email isElementInViewport([data-testid="uc-customize-button"]) called on non-existent element isElementInViewport([data-testid="uc-deny-all-button"]) called on non-existent element Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:127 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-customize-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:69:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email Error executing JavaScript-snippet within webContents: [TypeError] Cannot read properties of null (reading 'scrollIntoView') TypeError: Cannot read properties of null (reading 'scrollIntoView') at :3:126 at new Promise () at :1:1 This is the code that caused the error: new Promise((resolve, reject) => { try { resolve(document.querySelector('#usercentrics-root').shadowRoot.querySelector('[data-testid="uc-deny-all-button"]').scrollIntoView({ behavior: 'smooth', block: 'nearest'})) } catch(err) { throw { name: err.name, message: err.message, stack: err.stack } } }) // END OF CODE Stack that led to the execution of this snippet (Electron): at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:154:25) at focus (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:219:7) at shadowRootSelector (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/actions/botHelpers.js:32:19) at le.click (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/utils/electronUtilsRedux.js:21:33) at Immediate.n (/tmp/.mount_WohnunnhuqHU/resources/app.asar/app/webpack:/wohnungsbot/app/middleware/bot.js:74:21) Current URL: https://www.immobilienscout24.de/expose/132820589?referrer=RESULT_LIST_LISTING&searchId=7322dbc9-6b74-3d62-92f8-1f3c3f52b576&searchType=district#/basicContact/email ```
LukasNeugebauer commented 1 year ago

I have the same console output and the bot is stuck when trying to access an apartment. ("Wohnung ... näher anschauen")

I cloned the repo, built the app according to instructions and then ran "npm run-script start" to start the bot.

hoelger commented 1 year ago

For me it worked on the second run, then the cookies were already rejected, and the bot could start searching and applying. Try this as a workaround and let me know if it works for you.

hoelger commented 1 year ago

Reproducable for the non-artifact version if I remove the above mentioned files in /home/georg/.config/Electron/

LukasNeugebauer commented 1 year ago

When I try a second time, I don't get the same console output but

Attempt to launch a second task, ignored.
Attempt to launch a second task, ignored.
Attempt to launch a second task, ignored.

and the bot is stuck with "Wohnung XYZ genauer anschauen". If I delete the files you mentioned in the first post, the cookies and the console output appear again, but the bot gets stuck at the same place.

hoelger commented 1 year ago

Hey Lukas, Deleting the files is only meant for reproduction of the problem. Please try to update to the newest version of the bot, there was the release of 1.7 where some of those "wohnung xyz genauer anschauen" issues were solved.

LukasNeugebauer commented 1 year ago

Hey Georg, thanks for the help and sorry for the late reply. I tried with 1.7 but I have the same problem. It gets stuck at "Wohnung xyz genauer anschauen". In terms of warning messages, I get the same "Attempt to launch a second task, ignored." as before. I'm starting to think this might be a problem related to my system as I tried on an old Windows PC and that's running fine so far minus the initial hiccups. Maybe something about the geometry of the window? I'm using i3 (tiling window manager) on Arch Linux if that's any help.