GithubHelp home page GithubHelp logo

Comments (9)

sebthom avatar sebthom commented on May 28, 2024

Maybe you find some useful instructions regarding vscode setup here https://pdm.fming.dev/#use-with-ide

from kleinanzeigen-bot.

sebthom avatar sebthom commented on May 28, 2024

I have not encountered this myself. Maybe it is an issue with specific versions of the chrome driver.

Also I found this SeleniumHQ/selenium-google-code-issue-archive#7723 and SeleniumHQ/selenium#8877 but in the comments I cannot see anything that is actionable.

from kleinanzeigen-bot.

ChristopherLenz avatar ChristopherLenz commented on May 28, 2024

Hello, I took a quick look. It has nothing to do with the pictures. In any case, there would be a log message about this beforehand. For me it's the input fields for city and street. These are deactivated and pre-assigned with the last values. This does not validate the script and fails. Should be relatively easy to fix.

        #############################
        # set contact street
        #############################
        if ad_cfg["contact"]["street"]:
            self.web_input(By.ID, "pstad-street", ad_cfg["contact"]["street"])

from kleinanzeigen-bot.

Talvien avatar Talvien commented on May 28, 2024

Same issue here:
[ERROR] InvalidElementStateException: Message: invalid element state: Element is not currently interactable and may not be manipulated
(Session info: chrome=101.0.4951.64)

from kleinanzeigen-bot.

DenisLanz avatar DenisLanz commented on May 28, 2024

This fixes the issue for me, I can prepare a pull request, but need to make myself familiar first on how I can contribute…

#############################
        # set contact zipcode
        #############################
        if ad_cfg["contact"]["zipcode"] and self.webdriver.find_element(By.ID, "pstad-zip" ).is_enabled():
            self.web_input(By.ID, "pstad-zip", ad_cfg["contact"]["zipcode"])

        #############################
        # set contact street
        #############################
        if ad_cfg["contact"]["street"] and self.webdriver.find_element(By.ID, "pstad-street").is_enabled():
            self.web_input(By.ID, "pstad-street", ad_cfg["contact"]["street"])

Edit: created a pull request, run the local tests, should work fine @sebthom but this is my first line of python so let me know if I need to improve something, left out the zipcode check as it is not really necessary. Though I think a check for availability and status of a field is never a bad thing.

from kleinanzeigen-bot.

sebthom avatar sebthom commented on May 28, 2024

@DenisLanz I merged your PR, so the error goes away for now, however what we actually should do is enable the newly introduced checkbox Vollständige Adresse anzeigen which will make the street field writeable again.

from kleinanzeigen-bot.

DenisLanz avatar DenisLanz commented on May 28, 2024

@DenisLanz I merged your PR, so the error goes away for now, however what we actually should do is enable the newly introduced checkbox Vollständige Adresse anzeigen which will make the street field writeable again.

Fair point, maybe I give it a try this weekend.

from kleinanzeigen-bot.

DenisLanz avatar DenisLanz commented on May 28, 2024

Added and testet the address visibility checkmark and extended the settings accordingly.

from kleinanzeigen-bot.

sebthom avatar sebthom commented on May 28, 2024

Fixed by #79. Thanks to @DenisLanz

from kleinanzeigen-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.