« first day  last day (15 days later) » 

6:31 PM
You there?
 
6:57 PM
Be eaiser here
Lol I am not crazy
Go to this site 22hits.com/… it will open a new tab, switch back to the first tab, you will see a timer start to count down... it will count down to zero, then the second tab will load a new page, and the timer on the first tab will start counting down again
I just want to be able to read that timer, if it get stuck at zero, restart everything
I already done this with Selenium + Firefox
But... it is way to heavy... so much CPU / RAM
PhantomJS right? Or what do you mean?
I need to be able to load the program on a Ubuntu Server and have it load that site and run 24/7 and watch it for errors, etc...
Yeah
Probably what I need, right? in order to navigate to that site?
I am not trying to recreate what that website is doing, i am trying to load that website and watch that timer
Lets say the timer gets stuck at zero for 5 minutes... i would want everything to restart and have the website loaded again
Did you go to the link I sent?
Dont have a VM you can do it in lol? So hard to explain lol without showing you
Or sandboxie :) haha
I am trying to read that sites timer, not create the timer myself
Timer is based off how long other users of the site put in for... so timer part does not really matter in that sense
Not really lol :(
Hmm maybe I can send screenshot?
No
Lol
Um teamviewer? haha
I can show you that way lol
You teamview my computer, meeting, not other way around
but ya let me try to do screen shot
I am trying :( hard to explain when I can't show you
Hey
 
Ok, so site X has this timer running that's updating a piece of content on that page. right?
 
Probably be easier in here to explain
if you go there, you will see a new tab open
switch back to the first tab, you will see a counter going down
 
yeah i can't click external sites from here
 
After it hits zero, you see the second tab that opened will load a new page
Damn it lol
f71800acd1bd8f10acc254296af6e05dba1c67528bceb0622e0707023565b92f
copy and paste?
 
or, more precisely, i won't
:)
 
7:09 PM
Or I can do teamviewer meeintg, you see my computer?
Ugh that what the last guy said
how can i explain it without showing you lol
 
i'd rather not, just explain what the other site is doing
 
Alright
 
or maybe what you want from it
 
So when you go to the website, it loads the page, then opens a new tab. If you were to switch back to the first tab, you would see a timer, the timer is counting to down to zero. once the timer hits zero, the second tab, loads another page and the timer on first tab, start counting down from zero
It just does this over and over and over
What I want to be able to is load the page up, watch the timer, if it get stuck at zero, then restart everything
I already done this with Firefox + Selenium... it works great, etc.... but the overhead is crazy! hence why I want to do with PhantomJS or something else that is not a full on browser like Firefox/Chrome
 
by restart everything, you mean the server that's serving the page with the timer?
 
7:12 PM
Yeah, like in my Firefox + Selenium i use browser.quit() and call the function again
 
What's the purpose? what are you doing this for? it just seems like you might be taking the wrong path, or a longer/harder path than is needed.
 
The purpose is to have that website running 24/7 in a browser, and watching if the timer is stuck at zero for to long...
I have to use that website and I have to keep the website open
 
Ah, so you have a, for example, a kiosk that you want to keep running 24/7, and the site it goes to navigates to a new page every x seconds
and you want to handle the situation where it fails to navigate to a new page
 
The website does all that
No, only want to know if the timer has been at zero for more than 5 minutes
Other than that, I don't got do anything
Website does the rest... loading the new pages, etc...
 
right, but your goal is to detect when the browser on this controlled machine fails to open a new page (or, the site fails to instruct the browser to do so)
 
7:16 PM
Oh no, it will always keep opening up new pages, etc..
Not worried abou tthat
Just worried about loading the site up and watching the timer, that is it, which I can already do with Selenium + Firefox... but it takes up to much resrouces
So I figured PhantomJS would be perfect, but I can't keep PhantomJS open like I can keep firefox open
 
Ah, so just close any tabs in the browser that have reached a timer of 0 and stayed that way for more than 5 minutes?
 
Yes
Just kill it all and restart if the timer been stuck at zero for five minutes
Cause once you reload the website again, the new tab will open right away
 
seems like that'd be best done with either a browser extension or code on the site.
 
I cant touch the website
And browser extension? Would I not need firefox / chrome?
Which is what I am trying to avoid
 
...
then i'm not understanding what you're trying to do then.
 
7:19 PM
I know lol
You got to see the site lol
 
Whatis your goal? closing a tab, when you're not using a web browser, makes absolutely no sense.
 
Hmmm?
 
there's no tab to close!
 
My goal is to load the website, watch the website, if the timer gets stuck at zero, restart the program and do it again.
 
restart what program
 
7:21 PM
The program I would build to load the website in the first place?
Hmm mabye I can show you my git repo of the code I built?
For Python + Selenium + Firefox?
 
that might help
 
Its on bitbucket and private repo, got a bitbucket account or no?
That might help?
 
i do, but it's for my company and i'd rather not attach it to a 3rd party, I need to get some work done on my own project, i'll double back in an hour or two
 
alright
thanks
ill keep messing with phantomjs, if only i can get the damn thing to run in a loop and stay open lol
 
 
1 hour later…
8:35 PM
Damn, I can get it work, but I have to set the timeout to 999999 lol]
probably not good for it
 

« first day  last day (15 days later) »