Remote debugging with PhantomJS - phantomjs

I'm following the instruction at http://bumbu.me/remotely-debug-phantomjs/.
All tutorials say "go to localhost:9000 and there should be a link", however I didn't see the link.
See my screenshoot. Do I miss anything?

Can you see a bullet there, like a bullet from unordeted list? Right-Click at it and inspect it. Inside a list item will be a link. You can copy URL from link's href attribute and open it in another tab.
Updated: This works on 1.9.x versions of PhantomJS. In version 2.0.0 remote debugging is currently broken.
If you do need to remotely debug a script and it's not related to Phantom's quirks, I suppose you could temporarily downgrade to 1.9.8 version just for debugging.

Related

Pptxgenjs appears to not work in IE11 even with jszip#3.1.5

Having read the previous versions of this question from 2020 this issue appears to have reared it's head again. I have tried these demos with my current jszip#3.7.0 and with jszip 3.1.5 using it as my application jszip and overwriting the jszip within pptxgenjs.
When using pptxgenjs in IE11 (Windows 10) it appears to work in that no errors are reported, what does happen is the browser alerts the user that: "You'll need a new app to open this blob link". The only option that is available at this point is then to go to "Look for an app in the Microsoft Store" of which no apps are available.
What this says to me is that pptxgenjs has done its job and has passed the blob link to the browser and the browser has said I have no clue you'll need to find something to open this.
I've attempted to run the demos in the same Windows 10/IE11 setup and they seem to do worse. the live demo doesn't error or offer the ability to download an app to support opening the blob link. The react demo errors to the console: SCRIPT438: Object doesn't support property or method 'endsWith'. The Basic Demo in the complete library of demos fails like the live demo not returning an error or acknowledging anything.
Is this a known issue? Is there another step to help IE11 with the blob link? Can anyone else get the demos to work and I should be looking at something else? Any thoughts would be appreciated.
Edit:
Apologies if this wasn't clear, but the demos I was referring to were the pptxgenjs demos found here: https://gitbrent.github.io/PptxGenJS/demos/ so focusing on the initial demo named 'Live Demo' the code that is being run is here: https://gist.github.com/gitbrent/84acbcaab54be0eba83f5206ef6ddd95#file-pptxgenjs_demo-js
Running this with all other key browsers such as edge, firefox and chrome all 'download' the generated file whereas running the same demo in IE11 fails silently.

Refresh command not present in Selenium IDE

I am a beginner to selenium and have downloaded and installed the IDE. I'm following some tutorials and although at least some commands work (I can go to google and search for something), for some reason not all commands are available in the IDE and I have no idea why.
I tried restarting my browser and my computer, but the refresh command isn't part of the dropdown. I also tried manually typing Refresh as a command in the ide, but I get an error message saying: Unknown command refresh. See image
here
Thanks!
You can use executeScript command and use Javascript to refresh the page.
There are multiple ways of using JS Refresh detailed here

How do I raise a review from intellij 2017 using the gerrit plugin?

I see that the plugin documentation mentions "Publish and delete draft changes" as one of the features. I have installed the plugin and have configured it to work with my corporate gerrit server and I am able to view all changes which have already been raised for review on the server.
However, I am yet to figure out how do I commit new changes locally and raise a review for those using the gerrit plugin from my intelliJ 2017.2.6. I tried Googling around and I did see people mentioning about a "push dialog box" that they were trying to configure but I don't see that option available for me.
I have the Gerrit plugin installed on PyCharm, often the behaviour of the plugins is quite similar across several JetBrains products, so this might be applicable to IntelliJ as well.
In my case the dialog box for the VCS->GIT->Push menu sequence (Ctrl+Shift+K for Windows and ⌘+Shift+K for Mac) was modified by the plugin to look similar to the one displayed in the 2nd screenshot displayed at https://plugins.jetbrains.com/plugin/7272-gerrit:
Hope this helps.

How to browse Metacello repositories in Pharo Smalltalk?

I have downloaded Pharo 1.2.2 #12353 and wanted to install some packages in a easier way than going through Monticello Browser. I do not want to copy and paste scripts to install packages. After I opened the Menu, Tools, Configuration Browser a new window is shown with 3 ConfigurationOf...
ConfigurationOfFFI
ConfigurationOfMagma
ConfigurationOfVistaCursors
There is no help or description of what's the purpose of the Configuration Browser. What's one supposed to do with that?
there is no way to select a repository of configurations
there is no menu option to add a ConfigurationOf
there is no way to browse the Configurations from that window
Besides, is that the right tool to browse a "Metacello Repository" like http://www.squeaksource.com/MetacelloRepository.html ?
There is a custom browser to Metacello? Why isn't included in the release by default?
You can give MetacelloBrowser a try. It is aimed at providing a Metacello-centric interface for managing your project. The browser is still in development, but can be used for many tasks quite nicely.
If you decide to take it for a spin, please submit any issues here. Join the Metacello mailing list if you have any questions or comments.
Dale
Please report an issue about the Configuration Browser at http://code.google.com/p/pharo/issues/list and post your difficulties to the Pharo list. I played with the tool too and couldn't understand it either.
see
http://lists.gforge.inria.fr/pipermail/pharo-project/2011-December/057409.html
and for its origins:
http://code.google.com/p/pharo/issues/detail?id=2752
The ideas is that we have an own Squeaksource repo (universe) for a
specific Pharo version where we have a copy all the ConfigurationOfXXX
that are known to work in this specific Pharo version.
Since nobody (yet) mainted the one for Pharo 1.3 the browser is just empty.
I will try to find the time to fill the repo for Pharo 1.3

Are users able to view source of web apps on ChromeOS?

If yes, is there a way to compile (NOT obfuscate) JS code for deployment in ChromeOS?
From quickly looking at the codebase using the Chromium.org Git browser, it appears that Google haven't gone out of their way to remove the "View page source" menu item from the version of Chrom(e|ium) shipped in Chrom(e|ium) OS.
Of course, there's nothing to prevent them from hiding the option in the UI, or removing the feature all together by #ifdef-ing it out, though.