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

automate combinations #3

Closed
17 of 20 tasks
hchiam opened this issue Mar 23, 2023 · 1 comment
Closed
17 of 20 tasks

automate combinations #3

hchiam opened this issue Mar 23, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@hchiam
Copy link
Owner

hchiam commented Mar 23, 2023

critical first steps:

  • critical first question: can it run after refreshing page or after submitting? if it can't then it can't really test submitting with different combinations - might have to resort to Chrome's built in recorder or Puppeteer?
    • ANSWER: yes, as long as there's some variable that persists that you can read on load.
  • can the popup trigger code to run on the page?

easier:

  • 1) try combinations of inputs that are visible and become visible --> WIP: append to list of (can-be-)visible inputs (and retain that logic that checks visibility before setting value) --> just get all inputs, and only edit the currently visible ones
  • 2) to determine possible values, detect input type
  • 3) track visible inputs --> WIP: append to list of (can-be-)visible inputs (and retain that logic that checks visibility before setting value) --> just get all inputs, and only edit the currently visible ones
  • 4) don't refresh memory of showable inputs when running automation --> storage variable --> just get all inputs, and only edit the currently visible ones
  • 5) think about feasibility of submitting after each combo in quick succession - WIP: consider adjusting the automation approach, maybe add a selector or choice of action? window.history.back();? need to actually submit in certain situations, so:
    • give option but warn user
    • increment the string value used for email/name to avoid false negatives because of duplicates.
  • (At this point I can deploy to Chrome at https://chrome.google.com/webstore/devconsole and https://chrome.google.com/webstore/detail/form-utility-belt/hpeggcbpjddkihbnjpbjfllbmecelkbc) before continuing with the harder stuff below

harder:

@hchiam hchiam added the enhancement New feature or request label Mar 23, 2023
@hchiam hchiam self-assigned this Mar 23, 2023
@hchiam hchiam pinned this issue Mar 24, 2023
hchiam added a commit that referenced this issue Mar 27, 2023
hchiam added a commit that referenced this issue Mar 27, 2023
…put is visible/enabled instead of actually submitting a bunch of times - see notes in #3
@hchiam hchiam mentioned this issue Mar 28, 2023
hchiam added a commit that referenced this issue Mar 28, 2023
…nly edit the currently visible ones - see #3 notes
hchiam added a commit that referenced this issue Mar 28, 2023
This was referenced Mar 31, 2023
hchiam added a commit that referenced this issue Apr 5, 2023
hchiam added a commit that referenced this issue Apr 7, 2023
hchiam added a commit that referenced this issue Apr 7, 2023
@hchiam hchiam unpinned this issue Apr 7, 2023
@hchiam
Copy link
Owner Author

hchiam commented Apr 7, 2023

moved remaining tasks into new issues

@hchiam hchiam closed this as completed Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant