Martin Peter Madsen

Results 51 comments of Martin Peter Madsen

You do not have screen installed. And I have a validation that is incorrect when checking for it.

after setting all the cookies, try doing another getCookies() and compare the saved array to the one you set. like this: $savedCookies = unserialize(file_get_contents(__DIR__ . '/tmp/cookies/cookies.ser')); foreach($savedCookies as $key=>$value){ //......

Hi, What is the return when you execute (as PHP user) on cmd? ` where powershell ` Just use exec(), that will mimic the execution done by the lib: `...

Hi, Return code 1 means the command encountered an error. exec() is not super verbose when it comes to returning error messages. Chances are your php user is locked to...

Hi, Thats just downright strange. Appears where is not in the environment path for the server. Return of these last two commands please: ``` dir C:\Windows\System32\where.exe C:\Windows\System32\where.exe powershell ```

Hi, Turns out i have let us on a bit of a wild goose chase, mostly because exec() is so vague in its return. The help for "where" states: ```...

Hi, You can append the PhantomJS options by modifying [this line](https://github.com/merlinthemagic/MTS/blob/5bf4f140d1b4dfecd1785da663aa9c7ede39b889/MTS/Common/Devices/Actions/Local/Host/Browser.php#L45). PhantomJS does support remote [webdriver ](https://phantomjs.org/release-1.8.html)for e.g. selenium integration, but thats not going to help you make the browser...

Since the DOM is extended via AJAX you will need to trigger the call that extends the page. The easiest is likely to simply scroll down the page like so:...

Hi, You have two problems. First you are setting the scroll position to 500px again and again, you need to increment it. Second imagine how fast the while loop executes...

What is the resolution of the image you receive at the end? Also please post a var_dump of $docDetails.