What is phantomjs --wd command alternative for slimerjs? - phantomjs

I was using Phantomjs with Phoenix framework for test, and the package I use in phoenix is hound.
I previously installed phantomjs with apt-get which was giving problems (this github comment said the installation method was the culprit), so I downloaded the latest binary from the official website but that was giving permissions denied error, so I had to build it from the source, but to my surprise the build.py which is mentioned in the official guide wasn't avaialble, so I even failed to build it that way.
I also failed to install through npm, so I gave up on phantomjs.
Now I installed slimerjs, but I don't know what is slimerjs's alternative command to phantomjs --wd.

Related

Install Zenko Cloud Server on ubuntu 20.04 for development purpose

For a couple of days, I have been trying to install the Zenko cloud server for development purposes on my ubuntu 20.04 machine. I am new to Docker and definitely not very much comfortable with Kubernetes and Helm. I am trying to follow this instruction. During the installation stage when I am trying to follow this link, I am getting this error
Error: validation failed: [unable to recognize "": no matches for kind "PodSecurityPolicy" in version "policy/v1beta1", unable to recognize "": no matches for kind "PodDisruptionBudget" in version "policy/v1beta1", unable to recognize "": no matches for kind "CronJob" in version "batch/v1beta1"]
while executing this command.
helm install
https://github.com/scality/Zenko/releases/download/1.2.5/zenko-1.2.5.tgz
I have also tried this link to install Zenko. I have successfully cloned Zenko from the git repository.
git clone https://github.com/scality/Zenko.git
But while executing cd ./zenko/charts, I am getting this error.
bash: cd: ./zenko/charts: No such file or directory
I have installed Minkube by following this link and also installed Helm2 by following this link. Also, I have tried to follow this Zenko documentation but did not quite understand it.
My current goal is to install the Zenko cloud server and upload files to Amazon S3 and also to my local directory where both can be managed via Zenko according to their documentation.
It will be very helpful if someone shows me some way to solve this issue. Thanks in advance.

Chocolatey says "Software installed to 'C:\Program Files\Chromium\Application" but nothing is there

I'm trying to install Chromium with Chocolatey: choco install -y chromium
I get the following output:
Installing the following packages:
chromium
By installing, you accept licenses for the packages.
Progress: Downloading chromium 104.0.5112.102... 100%
chromium v104.0.5112.102 [Approved]
chromium package files install completed. Performing other installation steps.
Chromium 104.0.5112.102 is already installed.
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
The install of chromium was successful.
Software installed to 'C:\Program Files\Chromium\Application'
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
However, no folder is created for the Chromium application in C:\Program Files. I am getting a new installation of the NuGet for Chromium in C:\ProgramData\chocolatey\lib\chromium.
I'm doing this as part of an attempt to automate a Chromium installation, so I've been messing around with lots of different chromium versions and force installs. The line Chromium 104.0.5112.102 is already installed. looks pretty suspect, as does the note in the Chocolatey chromium page that says that sometimes the package will be installed on %localappdata%\Chromium instead, but I can't find chromium installed in C:\Users\jkatofsky\AppData\Local either.
I feel like the issue is just within reach, but I can't figure it out. Any ideas?
The package is already installed (note I said package) so it won't be installed again. I think messing around with versions has caused that issue.
Uninstall the package and install it again.
Doing choco uninstall -n --skipautouninstaller chromium and going to Control Panel -> Programs -> Uninstall a program then uninstalling Chromium, and getting rid of it from the registry when prompted, fixed things for me. The next choco install chromium worked as expected.

I am failing to install Selenium module via command line

I use Ubuntu 16.10. I tried installing Selenium module of python via the command - sudo pip3 install -U selenium. But, I am not able to install it. It is giving an unexpected error. I am sharing the screenshot of the terminal here. Please help!
Please click here for the screenshot
If you are using Ubuntu, I'd suggest checking in the package manager as it may already be there. I'm on Mint and it was already there when I loaded python (2.7 also).

Appium does not start with non sudo installation

Platform: Ubuntu 14.10
Appium - 1.3.7
One similar question I had come across -
How to setup Appium in Ubuntu for android
and following suggestion, I install npm via HomeBrew
And eventually, appium execution fails with error -
error: Appium will not work if used or installed with sudo. Please rerun/install as a non-root user. If you had to install Appium using `sudo npm install -g appium`, the solution is to reinstall Node using a method (Homebrew, for example) that doesn't require sudo to install global npm packages.
Is there anything I missed?
Appium allows to run under sudo since 1.2.3: source
apparently I was on wrong directory when invoking invoking appium. I should be in /node-v0.12.2-linux-x64/bin$ and invoke appium.
even though I was in wrong directory, the error message I received was so descriptive (and misleading) that it made me believe that I installed appium in wrong way.

How to install Jenkins plugin remotely?

I want to install jenkins plugins on a remote machine. I have root permission on it and I install jenkins using yum install now I want to install a list of plugin but I don't know how to do that.
I googled and found some website but all of the solution they provided weren't what I expected.
You can use the Jenkins command line interface to install plugins from a script. See https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI. If this isn't what you expected, perhaps you could tell us more about what you expect.