Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 19 2020 17:20
    paps commented #73
  • Jun 19 2020 17:07

    paps on master

    0.3.8 (compare)

  • Jun 19 2020 15:21
    paps commented #80
  • Jun 19 2020 14:52
    msaus opened #80
  • Jun 19 2020 14:30
    dependabot[bot] labeled #79
  • Jun 19 2020 14:30
    dependabot[bot] opened #79
  • Jun 19 2020 14:30
    dependabot[bot] labeled #78
  • Jun 19 2020 14:30

    dependabot[bot] on npm_and_yarn

    Bump extend from 3.0.1 to 3.0.2… (compare)

  • Jun 19 2020 14:30
    dependabot[bot] opened #78
  • Jun 19 2020 14:30

    dependabot[bot] on npm_and_yarn

    Bump stringstream from 0.0.5 to… (compare)

  • Jun 19 2020 14:30

    paps on master

    Add deprecation notice in README fix puppeteer link fix deprecation notice in README and 2 more (compare)

  • Jun 19 2020 14:30
    paps closed #77
  • Jun 17 2020 12:13
    stressGC review_requested #77
  • Jun 17 2020 12:13
    stressGC assigned #77
  • Jun 17 2020 12:13
    stressGC opened #77
  • Jun 17 2020 12:09

    stressGC on deprecation

    remove doc broken link (compare)

  • Jun 17 2020 12:06

    stressGC on deprecation

    fix deprecation notice in README (compare)

  • Jun 17 2020 07:51

    stressGC on deprecation

    fix puppeteer link (compare)

  • Jun 17 2020 07:50

    stressGC on deprecation

    Add deprecation notice in README (compare)

  • Apr 03 2020 13:56
    spearmootz opened #76
dc
@dcworldwide
I'm sure this has been asked many times, just wondering if and when chrome headless will be supported and what are the benefits of it over phantom? Is it simply because chrome has better HTML5/JS implementation? I remember a while ago that I couldn't get phantomjs working with css 3d transforms...
Guillaume Boiret
@guillaumeboiret
Hi Danijel, Thanks a lot for your question! First NickJS supports HeadlessChrome already, but it's in beta for now. About the benefits :
1- Every website is compatible
2- PhantomJS leaks a lot!
3- PhantomJS will not be maintained in the future.
RayedB
@RayedB
Hey there ! i'm having trouble somewhere. After updating node and chorme and installing nickjs, i'm having trouble running the sample code you use as example. I get this error: Something went wrong: could not start chrome: Error: spawn google-chrome-unstable ENOENT
Antoine Gunzburger
@SaShimy
Hello @RayedB
have you done this step export CHROME_PATH=/path/to/chrome?
RayedB
@RayedB
I just did, still get the error except that is not google-chrome-unstable but path/to/chrome now
Antoine Gunzburger
@SaShimy
Can you tell me your OS and its version an also your chrome version?
RayedB
@RayedB
I'm on mac sierra 10.12 and chrome Version 61.0.3163.91 , and node 8.5
Antoine Gunzburger
@SaShimy
This is my export line if you want to check if there isn’t any mistakes in yoursexport CHROME_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome”
RayedB
@RayedB
I changed the path and now everythings works well ! Thanks a lot @SaShimy ! Awesome product you built
Antoine Gunzburger
@SaShimy
Awesome I hope you’ll enjoy using it as much as we enjoyed building it!
Titouan Teyssier
@TitouanT
@RayedB, did you write "path/to/chrome" the first time ? when you see a path that is a sentence, it's for you to adapt to your system ^^
Van Peuter Clément
@clementvp
hello guys
Antoine Gunzburger
@SaShimy
Hi @clementvp
Van Peuter Clément
@clementvp
please consider renew your ssl certificate for https://nickjs.org/
;)
Antoine Gunzburger
@SaShimy
@clementvp Done thanks for telling us :)
Van Peuter Clément
@clementvp
ah ah no problem
;)
陈慧敏
@chenhm123
hi, i can't get req or res error message from chrome
Martin Tapia
@paps
@chenhm123 can you describe your problem in more detail
陈慧敏
@chenhm123
my page has some 404 images , and i run the demo to open my page on chrome engine ,but it doesn't show resource load error ;
Martin Tapia
@paps
But with CasperJS driver it does? Is that what you're saying?
陈慧敏
@chenhm123
yes !
Martin Tapia
@paps
Ok I see. These are missing log messages from the chrome driver. It's on the todo list
Are these messages important for your use-case or you just want to check?
陈慧敏
@chenhm123
just do some tests now ~
and i think these message are useful for me in the future
Martin Tapia
@paps
Ok. We will implement them soon
陈慧敏
@chenhm123
thx
Kou Lor
@halben
anyone here?
Guillaume Boiret
@guillaumeboiret
@halben Hello!
Agung Darmanto
@adarmanto
Hello, for debugging purpose, is there any option to run nickjs script and launch chrome browser without in headless mode? is it possible? Similar to puppeteer option {headless: false}
Antoine Gunzburger
@SaShimy
@adarmanto for now it isn’t possible but you can connect to the debugger and use it for debugging, when you launch your script just connect to 127.0.0.1:9222 and click on the link
mattjhusted
@mattjhusted
Any way to navigate tabs or step back a page?
Martin Tapia
@paps
@mattjhusted you can try an evaluate() call with window.history.back()
mattjhusted
@mattjhusted
Thanks @paps
Solr007
@Solr007
anyone here?
Hello, is it easy to occurrence Man-machine verification when I use in google crawl
?
Solr007
@Solr007
how can I do this step export CHROME_PATH=/path/to/chrome ?
Agung Darmanto
@adarmanto
Thanks, @SaShimy!
Martin Tapia
@paps
@Solr007 it depends. What OS are you using?
Solr007
@Solr007
@paps windows 7
Martin Tapia
@paps
@Solr007 then go into the windows settings for environment variables like explained here https://www.computerhope.com/issues/ch000549.htm
Solr007
@Solr007
@paps Thanks!
Ronnie
@webstractions
@paps @Solr007 There's a little quirk when setting the env variable in Windows. You need to open a new command window for it to be recognized -- weird that. Found that answer at https://superuser.com/a/832962
Ronnie
@webstractions
Is there any way to access iframes with nickjs?
Antoine Gunzburger
@SaShimy
Hi @webstractions what do you mean by access iframes ?
Ronnie
@webstractions
Well, not just iframes. Frames in general. Puppeteer has a page.frames() method that returns a list of frames. You get access any of the frames from the list and do evaluations on them (like get input values, click buttons, etc.)