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

Cannot upload data to Alerts: Unable to find field element in form: FieldNotFound: setField: Invalid field ; only HTMLElement is supported #6

Open
salshyn opened this issue Feb 14, 2017 · 1 comment

Comments

@salshyn
Copy link

salshyn commented Feb 14, 2017

I am trying to upload a list of companies to Google Alerts, but getting this error:

CasperError: Errors encountered while filling form: Unable to find field element in form: FieldNotFound: setField: Invalid field ; only HTMLElement is supported
  /Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:837 in fillForm
  /Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:930 in fillSelectors
  /Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/code/galerts.js:229
  /Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:1637 in runStep
  /Users/sam/Documents/Work/google-alerts-export-import/phantomjs:/platform/casper.js:414 in checkStep

Here's the sample.csv file data:

Apple;At most once a week;Blogs;English;Argentina;All results;RSS feed

And I run it as:

casperjs galerts.js import --file=sample.csv --delete-others

@chrischu5
Copy link

I'm getting the same problem. Does the function not work with accounts that have two-step verification turned on?

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

No branches or pull requests

2 participants