All Questions
155 questions
0
votes
0
answers
76
views
PhantomJS driver unable to create session on NodeJS and Selenium
I have an App that works just fine with Chrome, and I wanted to move to PhantomJS to make it work faster, since it has to go through many URLs.
const driver = new Builder()
.forBrowser("chrome&...
0
votes
1
answer
128
views
Capybara tests pass with Selenium but fail with Poltergeist
I have differing behaviour between Capybara tests when run with Selenium / geckodriver and Poltergeist / phantomjs drivers. Ultimately, I want to know why I'm seeing different CSS results being ...
-2
votes
1
answer
240
views
How can I download the source of this web url?
I'm trying to download the source of https://outline.com/rUdmgC. (I want to get the same file I get when I save that url using Chrome.)
I first tried wget and curl, which didn't work. (By didn't work,...
1
vote
3
answers
133
views
Javascript code not extracted with python code
I am trying to extract .mp4 link from a website, which is shown only in "Inspect Element" tab in web browsers.
I read on the internet that i need to use selenium and for example PhantomJS to get that ...
0
votes
0
answers
55
views
How can I automate the web from a web server?
I'm attempting to create my first ever full-blown website. The site will host a form that takes a user's link and scrapes the inputted website. Besides scraping, I'm also looking for click and input ...
1
vote
1
answer
55
views
selenium phantomJS download custom OCR image(aspx extension)
[![enter image description here][1]][1]I have a login screen consisting of username, password and security code. My goal is to use the technologies such as selenium, phantonJs and download the OCR ...
1
vote
1
answer
1k
views
Scraping javascript data within a grid of a webpage
I am really new to web scraping and I am working on a project, where I need to scrape data from a grid that loads and needs to be scrolled in order to fetch all the values.
The webpage is (https://...
1
vote
2
answers
871
views
How to extract values from dynamic website using selenium and PhantomJS
i am trying to get the value for a timer >http://prntscr.com/kcbwd8
on this website > https://www.whenisthenextsteamsale.com/
and hopefully store it in a variable.
import urllib
from bs4 import ...
0
votes
1
answer
340
views
Can't take a screenshot on instagram.com with Phantomjs code example, why it's always a black screen?
Here is mine phantomjs super easy code(test2.js):
var page = require('webpage').create();
page.open('https://instagram.com', function(status) {
console.log("Status: " + status);
if(status === "...
0
votes
1
answer
1k
views
Cannot get a page source after JavaScript is executed
I came across a case whereby for some reason I cannot get a page source after JavaScript is executed:
#!/usr/bin/python
from selenium import webdriver
import time
driver = webdriver.PhantomJS(...
0
votes
1
answer
80
views
Date entry in selenium using PhantomJS
I am finding it difficult to enter date into a date field box. I am using selenium with PhantomJS.
This is what I've tried so far:
def dobInfo(driver,dob):
dobentry = driver....
0
votes
0
answers
141
views
PhantomJS don't find elements hidden by 'display:none'
I'm having trouble to automate some functional tests using phantomJS and Selenium Web-Driver on Eclipse, perhaps you guys can help me.
I have a product card that shows three elements that are hidden ...
0
votes
1
answer
502
views
Is it possible to write a prototype for a "FileList" object type in javascript to construct and add a "File" object into it?
I never write a prototype before and i do not understand the concept of the callback functions.
The project i am working on is to automate the firmware update process of the routers that my company ...
0
votes
2
answers
178
views
Get yahoo comments with web scraping
I'm trying to get the news comments on yahoo, where there is a link "See reactions", with the following id: "caascommtbar-wide" and tried to get the element with CasperJS, Selenium, ScrapySharp, to ...
1
vote
1
answer
452
views
How to disable screenshots and javascript for PhantomJS in python selenium?
I am scraping in a python/selenium framework using phantomJS on windows. First, I tried to disable javascript and screenhsots with selenium:
driver = webdriver.PhantomJS("phantomjs.exe", ...