Comments (20)
There is now firefox headless https://mykzilla.org/2017/08/30/headless-firefox-in-node-js-with-selenium-webdriver/ or I guess more popularly, chrome headless.
from phantom-of-the-capitol.
from phantom-of-the-capitol.
Do we still need to support webkit/waitir? REQUIRES_WAITIR
is empty and all the bioguide ids from REQUIRES_WEBKIT
are house members so we can clear that out, but I'm not sure what the need for the alternative drivers was originally and whether it might come up again. We could really simplify parts of the app if we removed support for those drivers.
from phantom-of-the-capitol.
I think that's probably fine over here, yeah...
from phantom-of-the-capitol.
https://github.com/GoogleChrome/puppeteer
from phantom-of-the-capitol.
has anyone started work on this?
from phantom-of-the-capitol.
Not yet @j-ro.
from phantom-of-the-capitol.
Thanks @wioux, us either, though it's starting to become more important for us. I'll let you know if it lands on my roadmap. Can you do the same, so we don't duplicate work?
from phantom-of-the-capitol.
Definitely, I'll let you know.
from phantom-of-the-capitol.
We're actually doing a bit of initial investigation work on this today, maybe tomorrow too. We'll let you know how it works. There may be just a drop-in replacement that works with capybera, if so, will be fairly easy....
from phantom-of-the-capitol.
Update here -- we have chromedriver running, but it's probably not quite ready for prime time. It works, but seeing some hard to debug timeout errors, and it's missing some features like blacklists. We're going to run it as an optional switch for certain yamls since it helps in some cases, but we're not going to entirely switch. If there's large appetitive for the code we can put together a PR, but it's very much a WIP.
from phantom-of-the-capitol.
Hey @j-ro, this is becoming more important for us. Have you found a solution you like?
from phantom-of-the-capitol.
No, we're still with phantom. Chromedriver works but not as consistently, and it doesn't have many hooks and options to debug and tune. We haven't looked at it since January, maybe that's changed, but we're not planning a switch.
from phantom-of-the-capitol.
Ok, thanks for the insight. I'll see if anything's changed since then.
from phantom-of-the-capitol.
Worth a shot -- it didn't really take us very long at all to drop in Chromedriver -- the hard part was getting it to work reliably.
from phantom-of-the-capitol.
I'll chime in with my experience as I have worked with puppeteer, and phantomjs, and various selenium webdriver implementations like chromedriver and geckodriver.
Puppeteer provides a high level API that is quite easy to work with for basic scraping. They publish extensive documentation as well. If needing to get something done quick, I think this is a strong contender. It is a JavaScript only API as far as I know.
Selenium webdriver implementations give you more flexibility with the browser you run the automation in but require more programming and configuration to get working. The API is also implemented in different programming languages. Firefox's headless documentation also recommends using selenium webdriver for testing automation.
from phantom-of-the-capitol.
Just discovered @k-stewart 's work in #141 as well.
from phantom-of-the-capitol.
Hi @efx. Our contact-congress work has moved over to EFForg/congress_forms_api to fix this and other issues. Sorry we didn't properly archive this repo -- I'm going to do that now.
from phantom-of-the-capitol.
Thanks @wioux. I had found this repository from EFF's homepage, so we should probably update those link(s) as well.
from phantom-of-the-capitol.
Hi @efx. Our contact-congress work has moved over to EFForg/congress_forms_api to fix this and other issues. Sorry we didn't properly archive this repo -- I'm going to do that now.
This repo is still not archived. We were about to roll out a system we have been working on for a while based on phantom of the capitol before noticing your comment :(
from phantom-of-the-capitol.
Related Issues (20)
- CORS broken for browsers that do preflight checks HOT 5
- More detailed error message from /fill-out-form endpoint? HOT 1
- Can't Connect to MySQL Using Docker HOT 5
- Aborted connection '#' to db: ... Got an error reading communication packets HOT 2
- ReCaptcha support HOT 3
- sending html within $MESSAGE HOT 1
- Add dnt-policy to /.well-known
- If "verify email" is a field, API required fields returns two fields called "$EMAIL". Impossible to reply with two $EMAIL key values. HOT 5
- add this project to ios mobile project HOT 8
- rename docker-compose.test.yml to something else
- How to pass $CAPTCHA_SOLUTION parameter value to fill-out-form method?
- Issue with fill-out-form for contact pages with reCAPTCHA HOT 2
- related to bundle
- How are you solving reCAPTCHA? HOT 1
- 502 bad gateway on congressforms.eff.org
- Rake file version error
- Getting bad gateway HOT 2
- Issue while trying to run the following command phantom-dc docker HOT 9
- Support test posts to /fill-out-form HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phantom-of-the-capitol.