Skip to main content

Questions tagged [phantomjs]

PhantomJS is a headless (GUI-less) WebKit with a JavaScript API. It has native support for various web standards: DOM handling, CSS selector, JSON, Canvas, and SVG.

phantomjs
0 votes
0 answers
21 views

How can I access DOM of a website using phantomjs

I am trying get all the anchor tags in a website using phantomjs. My code was working fine when I used it with https://example.com. But when I changed it into an Angular website(Angular 16), I ...
Fasil Valiyattil's user avatar
0 votes
0 answers
28 views

Print Pdf from Html in Nodejs API

I am trying to set up a NodeJs API, for printing pdf using several templates. My problem is that 2 of those templates use Html customized by our users. I am trying phantomJS, because so far it was the ...
DValdir Martins's user avatar
0 votes
1 answer
32 views

VBA (Excel) - PhantomJS driver not working with "FindElementByXPath" -> "NoSuchElementError" (working with Chrome Driver)

Use of PhantomJS: no correct/ expected behaviour Website with web elements Sub Logon() Dim obj As New PhantomJSDriver 'PHANTOMdriver obj.Start "PhantomJS", "" With obj ...
Bruno Peene's user avatar
1 vote
1 answer
69 views

I want my JS to be executed when i'm loading my page HTML through PhantomJS

I'm trying to load my HTML until my JS code is executed to translate my HTML using PHP. I would then like to retrieve the content of this translated HTML. I've done a lot of research but I can't get ...
Richardson's user avatar
0 votes
0 answers
33 views

How to solve the Error ”Cannot find package '/progress-rate-calculator/node_modules/casperjs/' imported from /progress-rate-calculator/calculate.js”

I've been creating web scraping slack bot. When I installed casperjs on yarn, then I ran the program below, I got the error below, that can't find package "casperjs" imported from calculate....
Hiroto Takao's user avatar
0 votes
0 answers
12 views

Shinyapp to download slides with a map

Here is a quick example of a shiny app that allows the user to select data to display on a map and to download slides containing this map. It works locally but not when deployed. It seems related to ...
romanceline's user avatar
2 votes
0 answers
55 views

Could not find an executable /home/ubuntu/.phantomjs/2.1.1/x86_64-linux/bin/phantomjs that matched the requirements '>= 1.8.1', '< 3.0'

Cliver::Dependency::NotFound:Could not find an executable ["phantomjs"] on your path I'm doing scraping/processing for some of my data using capybara. I have following gem installed gem '...
Nitesh Choudhary's user avatar
0 votes
1 answer
79 views

Download file with phantomJS R

I want to download a file using webdriver package (phantomJS), however whenever I click/enter the object, nothing happens. I intend to click on 'Download dos dados' and then click and download 'Baixar ...
ffsffs's user avatar
  • 27
0 votes
0 answers
21 views

How do i set proxy for the GhostDriver (PhantomJS) at the fly?

I'm trying to change a proxy every time I reload a page in GhostDriver(PhantomJS). Everything what i found was set the proxy at the launch time: DesiredCapabilities capabilities = new ...
myaww's user avatar
  • 1
0 votes
1 answer
89 views

Extract string literal type of an interface's function's arguments

In @types/phantom, there is a WebPage interface, which includes the following function: interface WebPage { // ... property( key: | "content" | "...
stealing_society's user avatar
0 votes
0 answers
212 views

"html-pdf: Failed to load PhantomJS module. You have to set the path to the PhantomJS binary using 'options.phantomPath'"

I am using pdf-creator-node package to create pdf, and somehow its have dependency on html-pdf module. Locally its working file, when its we download on production, its getting above error, "html-...
Vsn's user avatar
  • 1
0 votes
0 answers
72 views

I am using jasmine framework with Phantomjs. getting error while running test case "Expected an identifier but found 'jasmineRequire' instead"

I am using angular 14 version. test case framework is jasmine and using Phantomjs broswer on karma file while running test I am getting these two errors Expected an identifier but found '...
Keerthana C's user avatar
0 votes
0 answers
35 views

taking screenshot with RSelenium and phantomjs

I want to take screenshot from youtube using RSelenium and phantomjs. I have this code: library(RSelenium) library(wdman) rPJS <- wdman::phantomjs(port = 4680L) rPJS$process$is_alive() rJS <- ...
Lev's user avatar
  • 811
2 votes
0 answers
113 views

How can I use package RSelenium in a Shiny app hosted on shinyapps.io?

Hello smart people of the internet, I have written an app in R Shiny that uses the package RSelenium (and specifically, its rsDriver function). It works fine on my local machine. However, when I try ...
user1713174's user avatar
0 votes
0 answers
38 views

Facing error in generating the chart using the sample test code mentioned in node-export-server git repository

I am facing issue in generating the charts in my local. I have followed the steps mentioned in the 'https://github.com/highcharts/node-export-server' and used npm install for installing post cloning ...
Suneel Kumar Cheethirala's user avatar

15 30 50 per page
1
2 3 4 5
508