Yes but I lost track of how that goes. There was Phantom, and there is also Puppeteer which is newer. I can't tell you if they do the same thing, though.
Hmm, I guess Phantom is dead or something. At least according to this article which says that the head guy for it would stop contributing. That was 2 years ago.
It also suggests headless Chrome.
You can also set up pure unit tests that won't be interacting with the browser.
It's a bit easier to test some of the functionality that way. A browser test is useful to make sure the functionality that works is also hooked up correctly, though.
Yeah, I'd agree with that. If you have to go for the best bang of your buck, then probably Selenium on a fully working system.
Well, test harnassed, ideally, but still - provide that end to end throughput.
@Wayneio Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
The docker image can come with npm installed. Probably the easiest way to do that I'd personally try is: 1. get an image with node installed 2. set it up so it mounts your local directory onto the image 3. run npm from within the image.
But again, I'm totally not very knowledgeable. There is likely an easier route.
@Wayneio if you don't need docker, you can use a virtual machine to develop this. If you're on Windows, then you can use WSL which gives you a Linux command line. You can still install stuff there and just treat it as a GUI-less VM.
There is nothing definitively called "native JS" as far as I know. There is "react native", there is "NativeScript", it could be a synonym for "vanilla JS", it could also refer to specific features of JS, like objects. Just off the top of my head, I'm sure there are more things called "native".
A quick search also showed this library called "native-js" which seems like a collection of utility functions.
From the context, it kind of, seems like they might have meant vanilla JS but I'm not really sure.
Looked at some articles and it seems the scientific community is split on this. It really depends on how you define this. So...I suppose we we know where Mr Munroe stands on this.