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

This change allows for the cvv text box to be autofilled #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

welchcode
Copy link

Now the cvv can be passed in as a parameter and will autofill the cvv textbox if it is passed in. It does not have to be passed in, but if it is the program will default to automatically using the cvv value.

This change adds support for cvv automation and allows the user to pass in a cvv code as an argument. If the cvv is not null, then it will be used to autofill the cvv textbox.
Added support for cvv automation
Copy link
Author

@welchcode welchcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 98 should actually be 'if cvv is None'

@@ -349,4 +358,4 @@ def wait_until_visible(driver, xpath=None, class_name=None, duration=10000, freq
run(driver=driver, shoe_type=shoe_type, username=args.username, password=args.password, url=args.url, shoe_size=args.shoe_size,
login_time=args.login_time, release_time=args.release_time, page_load_timeout=args.page_load_timeout,
screenshot_path=args.screenshot_path, html_path=args.html_path, select_payment=args.select_payment,
purchase=args.purchase, num_retries=args.num_retries, dont_quit=args.dont_quit)
purchase=args.purchase, num_retries=args.num_retries, dont_quit=args.dont_quit, cvv = args.cvv)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be registered with the parser using add_argument. Also needs to be added to the README.

@alexschimpf
Copy link
Owner

@welchcode I guess this work has already been done in #33

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.

2 participants