Downloads:
106,195
Downloads of v 1.9.8:
10,401
Last Update:
24 Nov 2014
Package Maintainer(s):
Software Author(s):
- Ariya Hidayat
- PhantomJS Committers
Tags:
phantomjs javascript webkit web browser testing- Software Specific:
- Software Site
- Software License
- Package Specific:
- Possible Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
PhantomJS
This is not the latest version of PhantomJS available.
- 1
- 2
- 3
1.9.8 | Updated: 24 Nov 2014
- Software Specific:
- Software Site
- Software License
- Package Specific:
- Possible Package Source
- Package outdated?
- Package broken?
- Contact Maintainers
- Contact Site Admins
- Software Vendor?
- Report Abuse
- Download
Downloads:
106,195
Downloads of v 1.9.8:
10,401
Maintainer(s):
Software Author(s):
- Ariya Hidayat
- PhantomJS Committers
PhantomJS 1.9.8
This is not the latest version of PhantomJS available.
- 1
- 2
- 3
Some Checks Have Failed or Are Not Yet Complete
Not All Tests Have Passed
Validation Testing Unknown
Verification Testing Unknown
Scan Testing Resulted in Flagged:
This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.
We recommend clicking the "Details" link to make your own decision on installing this package.
Deployment Method: Individual Install, Upgrade, & Uninstall
To install PhantomJS, run the following command from the command line or from PowerShell:
To upgrade PhantomJS, run the following command from the command line or from PowerShell:
To uninstall PhantomJS, run the following command from the command line or from PowerShell:
Deployment Method:
This applies to both open source and commercial editions of Chocolatey.
1. Enter Your Internal Repository Url
(this should look similar to https://community.chocolatey.org/api/v2/)
2. Setup Your Environment
1. Ensure you are set for organizational deployment
Please see the organizational deployment guide
2. Get the package into your environment
Option 1: Cached Package (Unreliable, Requires Internet - Same As Community)-
Open Source or Commercial:
- Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
- You can also just download the package and push it to a repository Download
-
Open Source
-
Download the package:
Download - Follow manual internalization instructions
-
-
Package Internalizer (C4B)
-
Run: (additional options)
choco download phantomjs --internalize --version=1.9.8 --source=https://community.chocolatey.org/api/v2/
-
For package and dependencies run:
choco push --source="'INTERNAL REPO URL'"
- Automate package internalization
-
Run: (additional options)
3. Copy Your Script
choco upgrade phantomjs -y --source="'INTERNAL REPO URL'" --version="'1.9.8'" [other options]
See options you can pass to upgrade.
See best practices for scripting.
Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.
If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:
choco upgrade phantomjs -y --source="'INTERNAL REPO URL'" --version="'1.9.8'"
$exitCode = $LASTEXITCODE
Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
Exit 0
}
Exit $exitCode
- name: Install phantomjs
win_chocolatey:
name: phantomjs
version: '1.9.8'
source: INTERNAL REPO URL
state: present
See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.
chocolatey_package 'phantomjs' do
action :install
source 'INTERNAL REPO URL'
version '1.9.8'
end
See docs at https://docs.chef.io/resource_chocolatey_package.html.
cChocoPackageInstaller phantomjs
{
Name = "phantomjs"
Version = "1.9.8"
Source = "INTERNAL REPO URL"
}
Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.
package { 'phantomjs':
ensure => '1.9.8',
provider => 'chocolatey',
source => 'INTERNAL REPO URL',
}
Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.
4. If applicable - Chocolatey configuration/installation
See infrastructure management matrix for Chocolatey configuration elements and examples.
This package was approved by moderator gep13 on 27 Nov 2014.
Full web stack
No browser required
PhantomJS is a headless WebKit with JavaScript API. It has fast and native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.
PhantomJS is created by Ariya Hidayat.
function Get-BinRoot {
# Since CamelCase was decided upon when $env:ChocolateyInstall was first invented, whe should stick to this convention and use $env:ChocolateyBinRoot.
# I propose:
# 1) all occurances of $env:chocolatey_bin_root be replaced with $env:ChocolateyBinRoot;
# 2) Make the new Chocolatey Installer for new users explicitly set (if not exists) $env:ChocolateyInstall and $env:ChocolateyBinRoot as environment variables so users will smile and understand;
# 3) Make new Chocolatey convert old $env:chocolatey_bin_root to $env:ChocolateyBinRoot
# For now, check old var first
if($env:ChocolateyBinRoot -eq $null) { # If no value
if($env:chocolatey_bin_root -eq $null) { # Try old var
$binRoot = "$env:ChocolateyInstall\bin"
}
else {
$env:ChocolateyBinRoot = $env:chocolatey_bin_root
}
}
# My ChocolateyBinRoot is C:\Common\bin, but looking at other packages, not everyone assumes ChocolateyBinRoot is prepended with a drive letter.
if (-not($env:ChocolateyBinRoot -imatch "^\w:")) {
# Add drive letter
$binRoot = join-path $env:systemdrive $env:ChocolateyBinRoot
}
else {
$binRoot = $env:ChocolateyBinRoot
}
# Now that we figured out the binRoot, let's store it as per proposal #3 line #7
if(-not($env:ChocolateyBinRoot -eq $binRoot)) {
[Environment]::SetEnvironmentVariable("ChocolateyBinRoot", "$binRoot", "User")
# Note that user variables pose a problem when there are two admins on one computer. But this is what was decided upon.
}
return $binRoot
}
Log in or click on link to see number of positives.
- PhantomJS.1.9.8.nupkg (48cdc7bc4080) - ## / 56
- phantomjs.exe (b7465dbd48f2) - ## / 57
- phantomjs-1.9.8-windows.zip (da36853ece7d) - ## / 56
In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).
Chocolatey Pro provides runtime protection from possible malware.
Add to Builder | Version | Downloads | Last Updated | Status |
---|---|---|---|---|
PhantomJS 2.1.1.20231008 | 656 | Sunday, October 8, 2023 | Approved | |
PhantomJS 2.1.1 | 58230 | Monday, January 25, 2016 | Approved | |
PhantomJS 2.0.0 | 19059 | Thursday, February 19, 2015 | Approved | |
PhantomJS 1.9.8 | 10401 | Monday, November 24, 2014 | Approved | |
PhantomJS 1.9.7 | 3102 | Monday, April 28, 2014 | Approved | |
PhantomJS 1.9.2.20131116 | 1683 | Saturday, November 16, 2013 | Unknown | |
PhantomJS 1.9.2.20131110 | 637 | Monday, November 11, 2013 | Unknown | |
PhantomJS 1.9.2 | 968 | Friday, September 20, 2013 | Unknown | |
PhantomJS 1.9.1 | 978 | Thursday, July 25, 2013 | Unknown | |
PhantomJS 1.9.0 | 1341 | Thursday, April 4, 2013 | Unknown | |
PhantomJS 1.8.1 | 933 | Wednesday, January 30, 2013 | Unknown | |
PhantomJS 1.7.0 | 877 | Saturday, September 29, 2012 | Unknown | |
PhantomJS 1.6.1.20120913 | 6466 | Thursday, September 13, 2012 | Unknown | |
PhantomJS 1.6.1 | 864 | Thursday, September 13, 2012 | Unknown |
This package has no dependencies.
Ground Rules:
- This discussion is only about PhantomJS and the PhantomJS package. If you have feedback for Chocolatey, please contact the Google Group.
- This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
- The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
- Tell us what you love about the package or PhantomJS, or tell us what needs improvement.
- Share your experiences with the package, or extra configuration or gotchas that you've found.
- If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.