Questions tagged [web-scripting]
97 questions
0
votes
3 answers
ElementNotVisibleException error in Python/Selenium webdriver
I write this code for web scraping work:
browser.find_element_by_class_name('open_all_j').click()
This code line gives me an error:
selenium.common.exceptions.ElementNotVisibleException: Message: element not visible
My full code:
from selenium…

nadeera jayasinghe
- 13
- 7
0
votes
1 answer
Parse HTML into text with Div level in R
library(XML)
html <- read_html("https://www.sec.gov/Archives/edgar/data/1011290/000114036105007405/body.htm")
doc.html = htmlTreeParse(html, useInternal = TRUE)
doc.text = unlist(xpathApply(doc.html, '//div', xmlValue))
The above code reads text…

Janjua
- 235
- 2
- 13
0
votes
3 answers
Can I use a format string in a URL to navigate to web page, replacing the specified portion of the URL?
I'm interested in creating some sort of simple C# application takes a user string and passes it into a target portion of the URL. For example, since user query is visible in the page URL DuckDuckGo
Example:…

adamlane
- 1
- 2
0
votes
1 answer
Can't create appropriate selector to grab names
How can I grab all the names under "Followed by" category from the below elements. The way the name have been laid out is kinda foreign to me that is why I can't get all of them. I have already used a selector which is capable of grabbing the first…

SIM
- 21,997
- 5
- 37
- 109
0
votes
1 answer
Unable to fill form using splinter
I am trying to fill out a login form on https://login.alibaba.com/?spm=a2700.8293689.0.0.EKYnH1&tracelog=hd_signin. However i am unable to fill out the login form. Here is my current code.
executable_path =…

sn3jd3r
- 496
- 2
- 18
0
votes
1 answer
rvest web content scraping issue / car trading website
Question
I wanted to rvest specific parts of the websites (car sales platform).
The CSS is frankly too confusing for me to figure out what's wrong on my own.
#### scraping the website www.otomoto.pl with used cars #####
baseURL_otomoto =…

Wojciech Niemczyk
- 63
- 8
0
votes
1 answer
Get Data From Website With Web Scraping
I want to get all image from a website where the data store in a inner div, how can i fetch all image. I tried but it can't work. Here is my code

user7657378
- 33
- 5
0
votes
1 answer
javascript - switch in a function with 2 variables
I try to make a game but in following code I have defined a function with a for-loop wherein I puted an switch-statement. Now I see with console.log() that all worked fine but the switch-statement is not working, even if compX and compY both are for…

Scipham
- 133
- 7
0
votes
1 answer
How can make my function rotate 360 and move up and down?
Hey guys so I'm working on animating my java script for a project, and being a newbie at java-script I have only figured out how to make my image move up and down in a set area. How can make my object "dank" also spin 360 infinitly whiles using the…
user5327466
0
votes
1 answer
Creating a script that will automate filling out a form on an ad website
I would like to create a script that would help me automate filling out a form on a website. Here is a basic idea that I came up with. The website consists of 5 stages.
Selecting a category and a group of an item
Adding the item. It consists of a…

Pavle Joksović
- 65
- 9
0
votes
2 answers
Get content of a header tag searching by header tag name
I'm scraping a page and I have to get the number of employees from this format:
Number of Employees
20
I need to get the number "20" the problem is that this numbers isn't always in the same header, sometimes is in…
Luis Ramon Ramirez Rodriguez
- 9,591
- 27
- 102
- 181
0
votes
1 answer
Alfresco web-scripts-application-context.xml
I want to register a bean. I'am following this tutorial http://aboutalfresco.blogspot.com/2010/07/java-backed-web-scripts.html.
But i can't found the file tomcat\webapps\alfresco\WEB-INF\classes\web-scripts-application-context.xml.
Is it…

soung
- 1,411
- 16
- 33
0
votes
2 answers
Script to download website source to a folder
I am trying to learn simple automation. I have set up an Ubuntu Server and I want to configure it to download html source from a specific URL and append to a file in a specified folder on the server every 1 minute.
The URL is just basic html with no…

user8363
- 55
- 1
- 9
0
votes
1 answer
Alfresco - Difference between JavaScript API (Root Object) & JavaScript Services API
I'm new with Alfresco, and I would like to know the difference between JavaScript API and JavaScript Services API, and I hope someone provide me an example of a tuorial beginning of the creation of a model to handling this model from the JavaScript…

SSouhaieb
- 248
- 5
- 16
0
votes
1 answer
download google.visualisation charts as an image file
I have access to a html file (stored locally as an output from a program) where in the generated page, it contains pie charts. I want to be able to download these pie charts as .png. LOoking at the page source I find…

brucezepplin
- 9,202
- 26
- 76
- 129