Skip to content

Loading pages does not work in REPL mode #10518

Closed
ariya opened this Issue Apr 30, 2012 · 9 comments

8 participants

@ariya
Owner
ariya commented Apr 30, 2012

gunnar.s...@gmail.com commented:

Which version of PhantomJS are you using? Tip: run 'phantomjs --version'.

1.5.0

What steps will reproduce the problem?

phantomjs> var page = new WebPage();
phantomjs> page.open('http://www.google.com');
phantomjs> page.content;

What is the expected output? What do you see instead?

I'd expect to see the actual page source, instead I only get the following:

"<html><head></head><body></body></html>"

Which operating system are you using?

Arch Linux with latest kernel, but the above snippet doesn't work on MacOS X either.

Did you use binary PhantomJS or did you compile it from source?

binary

Please provide any additional information below.

My application firewall on MacOS X actually reported an outbound request to www.google.com, which indicates that the actual connection to the remote site works.

Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #518.
:star2:   12 people had starred this issue at the time of migration.

@Trindaz
Trindaz commented Jun 22, 2012

dave.tri...@gmail.com commented:

I have the same issue. Also even if you provide a callback it doesn't get called.

@bengillies

b.gill...@digital-science.com commented:

What is the status of this please?

@catphive
catphive commented Feb 7, 2013

catph...@catphive.net commented:

I've also seen this. I'm on 1.8.1 use the 32 bit pre-compiled binaries on Ubuntu 12.10.

@ariya
Owner
ariya commented Feb 7, 2013

ditesh.k...@gmail.com commented:

I can replicate this on Linux on v1.8.1

@m000
m000 commented Feb 11, 2013

mstamat@gmail.com commented:

Same thing. OSX Lion, v1.8.1, installed with homebrew.

@ariya
Owner
ariya commented Feb 24, 2013

ad...@justwrite.net commented:

Same for me on OSX Lion 10.8.2, phantomjs v1.8.1

@dustyjewett

Same on Windows 8, phantomjs v1.8.1

@xwipeoutx

Same on Windows 7, phantomjs built from source
9af1f09

@detro
Collaborator
detro commented Mar 27, 2013

Closing this.
Work will undergo within issue #11180 .

@detro detro closed this Mar 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.