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

Manual fixes for verification steps added #51

Closed
wants to merge 2 commits into from

Conversation

ispjstfu
Copy link

@ispjstfu ispjstfu commented Apr 1, 2022

Added a manual step to stop the script so that the verification can be solved by a human before moving on to the booking area. Makes the original script work like before after the verification is solved.

Elin Rein added 2 commits April 1, 2022 14:50
@ispjstfu ispjstfu changed the title Manual fix for verification step added Manual fix for verification steps added Apr 1, 2022
@ispjstfu ispjstfu changed the title Manual fix for verification steps added Manual fixes for verification steps added Apr 1, 2022
@ispjstfu
Copy link
Author

ispjstfu commented Apr 1, 2022

Now I've also added a fix for the second verification step after a time is found, plus a click that the "important information" was read so that the script can move on and confirm the booking.

@jonkpirateboy
Copy link
Owner

I will test this later today! Thanks! ❤️

@jonkpirateboy
Copy link
Owner

Unfortunately this doesn't work for me, I get redirected to the "För många anrop" page. Does it still work for you?
I also needet to change the startButton to web.find_element(by=By.XPATH, value='//*[@value="Boka ny tid"]'), to get the first click working.

@geekteq
Copy link

geekteq commented Apr 2, 2022

Unfortunately this doesn't work for me, I get redirected to the "För många anrop" page. Does it still work for you? I also needet to change the startButton to web.find_element(by=By.XPATH, value='//*[@value="Boka ny tid"]'), to get the first click working.

Credit where credit is due. My pull request is based on @ispjstfu fix. I just added another manual thing along the way - that made things work for me. So most of the props goes to @ispjstfu in my book :)

@jonkpirateboy
Copy link
Owner

@geekteq, defenetly. Thanks to you both! <3

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

Successfully merging this pull request may close these issues.

None yet

3 participants