Comments (9)
Maybe you find some useful instructions regarding vscode setup here https://pdm.fming.dev/#use-with-ide
from kleinanzeigen-bot.
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.
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.
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.
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.
@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 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.
Added and testet the address visibility checkmark and extended the settings accordingly.
from kleinanzeigen-bot.
Fixed by #79. Thanks to @DenisLanz
from kleinanzeigen-bot.
Related Issues (20)
- Precompiled exe missing from last release HOT 4
- Sell directly false not working HOT 1
- ValueError: There is no such driver by url […] LATEST_RELEASE_116 HOT 8
- SSL: CERTIFICATE_VERIFY_FAILED HOT 8
- Chrome does not start, when a profil is used HOT 2
- @id='micro-frontend-price-type' or @id='priceType']' not found or not clickable; HOT 1
- Add easy multi-path in `config.yaml` via `ad_files` HOT 2
- No support for some article that have mandatory fields in `ad.yaml` HOT 1
- Web-element `buy-now-toggle` not found
- InvalidElementStateException: Message: invalid element state HOT 3
- Name is now readonly
- New anti-bot "feature" HOT 48
- Price type is not always available
- Feature: Reconnect on captcha when publishing
- Chromedriver not found HOT 3
- Another `SSL: CERTIFICATE_VERIFY_FAILED` HOT 1
- pdm install issue: module '_distutils_hack' has no attribute 'add_shim' HOT 1
- [BUG] ImportError: Can't connect to HTTPS URL because the SSL module is not available. HOT 22
- [BUG] negate direct buy only when shipping_type is SHIPPING
- [BUG] setting shipping options doesnt work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kleinanzeigen-bot.