Git Product home page Git Product logo

fakefiller / fake-filler-extension Goto Github PK

View Code? Open in Web Editor NEW
553.0 553.0 155.0 4.21 MB

A browser extension for Chrome, Edge and Firefox that fills dummy text in all input fields in a page.

Home Page: https://fakefiller.com

License: MIT License

HTML 9.37% TypeScript 89.86% SCSS 0.75% JavaScript 0.02%
chrome-extension developer-tools dummy-data-generator edge-extension firefox-addon firefox-extension productivity random

fake-filler-extension's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fake-filler-extension's Issues

More email options

The projects I work on I usually set up blocks of email addresses at a domain in a format like [email protected] , [email protected] etc. Any way we can get a feature to allow us add some formatting options to this field? I like to keep emails in a valid range to keep spam ratings in check for live sites.

help needed

Hi Hussein and friends,

I need your help for the Form Filler to work on a particular form:  https://my.woolworthsrewards.com.au/coa/#/register

For the Chechbox "I have read and agree to the Terms & Conditions and Privacy Policy", sometimes work and sometimes don't work, how can I make it always work?

Can the Form Filler automatically click on 'NEXT' on each page of the Form? 

On page 2 of the Form:

How can I add or amend a Custom Field for a random 'Date of birth' with minimum value of year is 1930 & maximum value of year is 2000?

How can I add or amend a Custom Field for Australia random 'Mobile number' start with '04' in the Template of '04xxxxxxxx'?

For the box of 'Enter your address' on the top, how can we enter random Australia address? e.g. If we enter a random number between 1 and 999, it will shown up a pull-down menu of addresses for us to pick one, How can we add a Custom Field for this  'Enter your address' ?

help is needed and welcome to contact me; my phone# is +61 423945888 and this phone is registered for WhatsApp / WeChat etc. My email is [email protected]

Match Fields Using "formControlName" attribute.

Angular2/4 uses a custom formControlName attribute for fields.

<input **formcontrolname**="name" placeholder="name" type="text" ng-reflect-name="name" class="ng-untouched ng-pristine ng-valid">

Please add this to the "Match Fields Using" options.

type=tel/number takes priority over name matching

We use type=tel for credit card fields so they are useable on mobile devices while still not having the increment buttons on desktop. However, that makes FormFiller always input phone numbers to our credit card fields.

The same happens for type=number

Similar names with punctuation do not work

Configured match string:

data[rehab_costs], data[purchase_price], data[after_repair_value], data[asis_value], data[amount_requested]
Result - every field prefixed with "data" matches the condition.

I thought this may have been a regex issue, I tried:

data\[(rehab_costs|purchase_price|after_repair_value|asis_value|amount_requested)\]

as the match string ... didn't work.

capture

capture2

Custom attributes

It would be usefull if there were an option in settings to choose other attributes for match

Custom fields don't work for "select" elements.

I'm trying to use a predefined value for a "Country" select field. I've tried using "List Items" and providing a few possible options but still random options are selected. I tried using both the select's option value and display text with no luck. I can get it to work with normal text elements, just not select fields.

Thanks!

Where is telephone defined?

I deleted the custom field telephone and it still fills up phone fields with the default value. I can't override it for some reason. Is there a way to override?

screen shot 2017-02-27 at 11 39 38 am

I tried that but when i try to generate:

screen shot 2017-02-27 at 11 40 04 am

C# implementation for a test script

I am sorry if this isn't a good place for this comment. I couldn't find an e-mail or anything to send a question to.

I was wondering if you had any advice/ if anyone has tried to use this in test scripts as a generic way to fill out assessments in an automated test using any browser rather than using it as an add-on for a browser?

Older age

Hi, is there a way that when filling this date DD/M/YYYY
the part of the year only give years of older age people? i mean dates since 18 years old.
For example: Years until 2009

15/07/2009
Thanks for the help

content.js:434 Uncaught TypeError: $(...).size is not a function

The following line is now throwing an error for me:

https://github.com/husainshabbir/form-filler/blob/6b6b68e69a33c77649dc88e2a2c8c0d5b75dac2c/formfiller/js-chrome/content.js#L434

content.js:434 Uncaught TypeError: $(...).size is not a functionshouldIgnoreField @ content.js:434fillInputTagElement @ content.js:450(anonymous function) @ content.js:651each @ jquery-3.0.0.min.js:2each @ jquery-3.0.0.min.js:2fillAllInputs @ content.js:650(anonymous function) @ VM250:1

Class name not matching?

I have the following HTML:

<div class="md-form">
    <input type="text" class="form-control proj-number-currency" id="txtMinimumNetWorthRequired" name="LicenseNetWorthRequirements.MinimumRequiredNetWorth" value="50000">
    <label for="txtMinimumNetWorthRequired" data-error="Required" class="active">Minimum Net Worth Required</label>
</div>

And then my top match for a Number fill-in, I've tried setting to all of these values:

.form., formcontrolprojnumbercurrency, projnumbercurrency, proj-number-currency, currency

And various others to try and match the class... Not matching these elements as I expect, though. Just to be sure, I did try matching on .* to make sure the Number data type was working at all, and it certainly is. In fact, matching does seem to work if the ID field has a match.

number input with constraints

Hi, @husainshabbir

Thanks for your work! I have a request: could you please add the functionality to check min/max of the input fields with type number? For ex., if I have:

<input type="number" min="18" max="70">

I'd like the extension to fill the random number in range max(numberMin, input.min) and min(numberMax, input.max).

Frame Support?

This extension does not support the use of forms that are inside frames. Any chance that will be a possibility?

[New feature] Matches by scenarios

It would be great if we could define different scenarios, depending on the URL we are visiting, or the form we are completing. In this way, we could define, for example, different formats and date rules, according to the form. Some will require future dates while other dates.

Is there a way to click button types as well

One of my websites in Angular uses instead of for a Yes/No form field and I noticed Form Filler doesn't automatically "click" one of those buttons. Has this been built into form filler or is it a non-trivial enhancement?

License

What license is this code available under? One of the more liberal licenses like MIT / BSD / Apache would be great.

textarea

Is it possible to set the number of characters for a textarea? I would like to add 300 characters by default.

Handling Check-Box Options

When there is a Terms of Service Agreement on a form, you have a check-box that must be selected before the form is submitted. Currently there is no way to control if a check-box needs to be selected by default. Instead the check-box is toggled between selected/unselected which shouldn't be happening.

Would it be possible to create a way to control how check-boxes are handled within these special cases?

Custom number with specific value

Hi,
Great extension... I'd like to be able to enter a specific number into an input type number field. The example is a 16 digit credit card number (for testing).

Can't fill an <input type="email"> with regex generated content

I use this regex: ^MyRealUsername\+[a-zA-Z0-9]{8}\@^gmail\.com$ to generate test accounts that aren't already registered in my app, but that gmail still treats as my real gmail account so I can receive my app's confirmation emails.

This works great with <input type="text"> but not <input type="email">. Is the regex type custom field only able to recognize text inputs?

Tends to prefer radio button on forms which have checkbox and radio in same form.

For example, a form I was testing has this behaviour

<form id="pageForm">
    <p>When you click the below radio, all the input elements in the div are disabled, if they are enabled and vice versa.
    </p>
    <p>
    Click to change: <input id="toggleElement" type="radio" name="toggle" onchange="toggleStatus()" />
    </p>
    <div id="elementsToOperateOn">
        This is our example div block. <br />
        Sample Text Box: <input type="text" name="name" /> <br />
        Sample Checkbox : <input type="checkbox" name="participate" /> <br/>
        Sample Radio : <input type="radio" name="bookEarly" /> <br />
        Sample Select: <select name="sampleSelect">
                            <option>Option 1</option>
                            <option>Option 2</option>
                        </select>
    </div>
</form>

but with a lot more options, that's just to get the idea with a made up bit of code.

But for some reason form filler prefers radio buttons over checkboxes, so I found it difficult to test the other elements.

How do I select a javascript link option?

For example, if I need to automatically fill out a form and there is a link button that is an <a> tag with an id, class and target of javascript, to expand the form options how do I automatically select it?

<a id="addMoreOptions" class="more-optionss-action" href="javascript:;">More Options</a>

How to exclude inputs when them are part of an array?

Let's say I have the following inputs:

<input type="text" name="travelers[1][passport][number]" id="travelers1_passport_number" value="">
<input type="text" name="travelers[2][passport][number]" id="travelers2_passport_number" value="">
<input type="text" name="travelers[3][passport][number]" id="travelers3_passport_number" value="">

I don't want any passport number to be automatically filled, how do I exclude them to be filled by the extension?

How to play with more restrictive dates?

I am seeing that you are using a Date data type and this uses moment.js but I should ask:

  • can I define a date between year range? Let's said I only want a date to be generated between 2000 and current year, if this is possible, how?
  • can I define a date greater than today? Let's said I only want a date bigger than today, if this is possible, how?

Cannot read property 'fillAllInputs' of undefined

There is an error thrown in the browser console every time I click the extension icon to fill the forms.
Uncaught TypeError: Cannot read property 'fillAllInputs' of undefined at <anonymous>:1:19

The fields are all filled, but this error is thrown every time.

MacBook Air (13-inch, Mid 2012)
OSX Yosemite Version 10.10.5
Chrome: Version 63.0.3239.84 (Official Build) (64-bit)

Default Addresses vs. Confirmation email

Hi, I just noticed the default addresses used by FormFiller are risky.

  • Either they might exist ([email protected], [email protected]) -> If I use them to test my auto-replying form I will spam that person with confirmation emails

  • Or if they don't exist, the server will reply with an "account not found" email, thus spamming the owner of the sender address (in many cases, the client for whom you are testing)

I would suggest setting a default that is safe to send to, maybe @example.com?

Data Type randomized-list

How do i use randomized-list data type?
Comma separated values doesn´t seem to work... it uses all values ignoring commas

custom field (randomized-list) autocomplete is broken after the last update

Hi,

After the last update I noticed the autocomplete for custom randomized-list no longer works:
This seems to happen if the list has a single item.

Steps to reproduce:

  1. create a new Field, data type: randomized list
  2. Add the name and match rule
  3. Add a single line of text

Go to a form, click the form fill button and the value of the matching field should complete with 'undefined'

Disable "default" behavior

Hi,

First of all I would like to thank you for the great work done - this is an extremely useful add-on.
Secondly, I would like to ask you if there is any way to disable the default behavior under the General -> Email and Password settings - it seems those are taking precedence over any custom rule - I have a problem where instead of a custom rule for a user name / password fields pair, the default rules are applied and I have no way to disable them.

Thank you,
Remus

DateTime field

Hi,

can't fill a DateTime field. Custom Field Details listed
Type date
Match datetime
Template DD/MM/YYYY HH:mm

FormFiller puts next to the field 19/73/1109 11:49. DD, MM etc is out of range. How can I fix this?

conflict with XML view

When I activate the plugin, all XML are displayed as HTML instead of the formatted XML view.

Please Add Address Field Types

Please Add Address Field Types like Address1, City, State, Country, ZipCode, etc. Also it would be benefitial to be able as a user to add custom field types and be able to define keywords for those field types as long as the data that will be used to populate that custom field type. Other than that this is an excellent tool, great work!

for help about react

i am glad to see your project, it's really amazing, this is the very one i am looking for.
But there is some trouble when study you project since i am a newer of react, if it is possible, there are some annotation would be better. thanks!

input html5 pattern support

When I use for html5 form input it's not work parallel with input regex pattern. I hope you can add this spec.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.