Headless Selenium on Ubuntu 14.04 with PhantomJS 2.0
N.B. This is STILL incomplete.
More work later 🙂
We’re following the excellent Headless Selenium Testing With Python and PhantomJS
Let’s use pip to install Selenium
$ pip install selenium
To make PhantomJS installation easy we will use the GitHub Repository, PhantomJS 2.0 built on Ubuntu 14.04 x64.
- Let’s login as root, cd to the root home.
$ # However you login as root - I use WinSCP & Putty.
$ cd ~
- According to the notes on the GitHub, to avoid the noticed dependency error, first let’s install “libicu52”.
$ sudo apt-get install libicu52
- Now let’s just follow the original instructions on the GitHub Repository.
$ # Since the file the GitHub Repository is
$ # **actually** the phantomjs **executable**,
$ # And we want system wide access,
$ cd /usr/bin
# Now do our GitHub Repository wget into /usr/bin
$ $ wget https://github.com/Pyppe/phantomjs2.0-ubuntu14.04x64/raw/master/bin/phantomjs
# Now change the permissions
$ chmod 0755 phantomjs
$ # -rwxr-xr-x 1 root root 56596085 Aug 26 09:22 phantomjs
That does it.
Love and peace,
Download an App from Google Play to a PC & Install it on a Tablet
Download App to PC
- Find the App URL on google play store for your account
- Here’s the App URL for Cogi – Notes & Voice Recorder
- Copy the id == com.cogi.mobile
From the App URL
- Click on newly appeared button
“Generate Download Link”
Package Name: com.cogi.mobile [Play Store]
File Size: 12.1 MB
QR Code: View
MD5 File Hash: ee75eba0fef749dba8796c2eb5cab309
Last Fetched: 2015-08-03 21:31:36
Version: 1.17.2 (94)
- Click on the newly appeared button
“Click here to download =com.cogi.mobile now”
- Put the download into yourPC PATH_TO_Apps/Cogi/
- Verify the md5 hash
>cd yourPC PATH_TO_Apps/Cogi/
>rem use whatever md 5 checker you have
>md5chk.py com.cogi.mobile.apk ee75eba0fef749dba8796c2eb5cab309
file length: 12736720
file checksum: ee75eba0fef749dba8796c2eb5cab309
expected checksum: ee75eba0fef749dba8796c2eb5cab309
Install the Downloaded APK on the Tablet
- Connect USB cable from tablet to pc
- Copy [drag & drop] com.cogi.mobile.apk
From: yourPC PATH_TO_Apps/Cogi/
Into: yourPC PATH_TO_Tablet/Tablet/Download
N.B.: Navigate to yourPC PATH_TO_Tablet/Tablet/Download in your PC File Browser
when your Tablet is USB connected.
- Disconnect USB cable from tablet to pc
- On Tablet Go to Menu > Settings > [General] > Security > and check “Unknown Sources”
4.1 the cnet link ALSO says
Menu > Settings > [General] > Security > and check “Verify Apps”
“Depending on your device, you can also choose to be warned before installing harmful apps. This can be enabled by selecting the Verify apps option in the Security settings.” N.B. For me this was ALREADY CHECKED
- On Tablet go to My Files > Download
N.B. “Downloaded Apps” is a Category NOT A FOLDER
- Tap com.cogi.mobile.apk
[I notice that this app gets A TON of permissions – should have checked earlier]
- Tap Install
– Cogi appears in “Downloaded Apps” Category
– Cogi appears in the Apps Tab of the Top Screen
- IMPORTANT Go back to Menu > Settings > [General] > Security > and UNCHECK “Unknown Sources”
Uninstalling the Bing Bar, Installed with Skype 5.8
I got a Windows error message generated by BSvcProcessor.exe. I didn’t install this and so i did some research.
This link contained “BSvcProcessor.exe”; it hooked up “BSvcProcessor.exe” with Bing Service, [Tom’s Hardware microsoft-bing-service…] (http://www.tomshardware.com/answers/id-2735458/microsoft-bing-service-bingsvc-exe.html)
Persuit of “Bing Service” searches produced “What is the Microsoft Bing Bar” from support.skype.com. This link said:
The Bing Bar is installed automatically when you install Skype 5.8 for Windows desktop.
So I uninstalled it.
To uninstall the Bing Bar:
Click Start - Control Panel.
Windows XP: Add or Remove Programs.
Windows Vista and 7: Uninstall a program.
Select Bing and click Uninstall.
GitHub Web Dev Process Notes
Here are some notes/links for a good Web Site Development Process based on GitHub.
Here’s a shortlink to this post. http://wp.me/p1zI3Z-fW
Bases for the process