Comments (6)
Mhmm ... that code looks ok.
Does it also occur when not using sail.js? Can you replace the url with a local http server and check if phantom is requesting the page?
You can use this example and modify it to your use-case.
from phridge.
So, oddly, your example (inserted into a SailsJS app with very minor mods) worked but my code above does not. Any ideas why?
from phridge.
Could you create an example repo where this code doesn't work? I think we need to isolate the problem...
from phridge.
Close?
from phridge.
Yes. I have moved on to another approach, and so if I somehow circle back to this, I'll reopen or create a new ticket. Sorry for the inconvenience.
from phridge.
No worries. 👍
from phridge.
Related Issues (20)
- Orphaned phantomjs processes HOT 4
- phridge.dispose causes EPIPE error after SIGINT HOT 2
- Wrong PhantomJS binary? HOT 1
- Evaluate returning "null" HOT 3
- Cannot read property 'stdin' of null HOT 7
- how can i cancel(settle) the promise of running page ? HOT 4
- phantom.dispose() causes 'cannot call function of deleted QObject' when page was already closed HOT 2
- Holding a reference to the phantom instance (JS-Object) outside of the ".spawn().then( [...] )" scope? HOT 4
- support slimerjs? HOT 6
- lift.js exits with "ReferenceError: Promise is not defined" after update. HOT 2
- page.onConsoleMessage event handler is null after page.includeJs HOT 1
- CasperJS support?
- CasperJS support?
- Memory exhausted? HOT 7
- Wait for callback HOT 1
- Cannot assign to read only property 'message' of 1
- Documentation is unclear about Phantom, Page objects and their difference from "native" PhantomJS phantom and page objects
- Please, give an example of load and use jquery
- What version of phantom is used by phridge? HOT 1
- Use of babel polyfill
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 phridge.