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

FIX selection of shipping options #307

Merged

Conversation

provinzio
Copy link
Contributor

@provinzio provinzio commented May 30, 2024

Issue #, if available: fixes #292

Description of changes: Depending on the input, one shipping size and all their options are preselected. If we want to keep that shipping size, we have to click (unselect) the unwanted options instead

Furthermore the PR fixes the wrong shipping size of DHL_10.

Code inspired by @bochen87

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Depending on the input, one shipping size and all their options are preselected. If we want to keep that shipping size, we have to unselect the unwanted options instead of selecting the wanted
@provinzio provinzio force-pushed the fix-selecting-shipping-options branch from 9deeca7 to d7aa6b6 Compare May 30, 2024 17:09
@provinzio provinzio marked this pull request as draft May 30, 2024 17:42
@provinzio
Copy link
Contributor Author

provinzio commented May 30, 2024

I discovered a bug where the "Fertig" button on the shipping options page isn't pressed, when "Mittel" is preselected.

Running the web_click code manually always works. I don't quite understand, why the algorithm does not work by it self. A web_sleep wasn't enough.

I'll look into it.

@provinzio provinzio marked this pull request as ready for review May 30, 2024 18:23
@sebthom sebthom marked this pull request as draft May 30, 2024 18:28
@provinzio
Copy link
Contributor Author

@sebthom I fixed the bug and added a try-except-clause to avoid the behavior in the future. This PR is now ready.

@provinzio provinzio marked this pull request as ready for review May 30, 2024 18:30
@sebthom sebthom merged commit 4a8b6ec into Second-Hand-Friends:main May 30, 2024
9 checks passed
@sebthom
Copy link
Contributor

sebthom commented May 30, 2024

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] all shipping_options are enabled although just one is in the yaml
2 participants