Questions tagged [splinter]

Splinter is an open source tool for testing web applications using Python

Splinter is an open source tool for testing web applications using Python. It lets you automate browser actions, such as visiting URLs and interacting with their items.

329 questions
3
votes
3 answers
3
votes
0 answers

Python Splinter - Message: stale element reference. However waiting does not resolve issue

I'm writing a Python code which navigates through webpages using the Chrome Webdriver and Splinter: driver.switch_to.frame(driver.find_element_by_id("accountSummaryFrame")) time.sleep(10) login2 =…
3
votes
1 answer

Django with splinter and phantomjs is painfully slow

Today I tried combining django's LiveServerTestCase with splinter and phantomjs webdriver. Here's what I do (simplified version): class Test(LiveServerTestCase): def setUp(self): self.browser = Browser('phantomjs') def…
Ruslan Osipov
  • 5,655
  • 4
  • 29
  • 44
3
votes
2 answers

set a timout in python splinter web crawler

Trying to set a time out in python much like you would in ruby. I have a link that when I click it opens a popup but I can not access it because it causes the script to freeze until I kill it. I have been trying for months to access this popup to…
user1279586
  • 257
  • 3
  • 16
2
votes
1 answer

A splinter error: Driver not found error, why does it say this?

I'm completely new to splinter and quite new to python. I wanted to do a splinter program to automatically log me in to websites once I run the program on a computer. I searched the web a bit for splinter, and I created a program to try and open a…
sdog
  • 21
  • 2
2
votes
1 answer

Python splinter script fails after upgrade to Debian Buster with chromedriver exception

I recently upgraded my raspberry 3 to Debian Buster from Stretch. I had several python scripts using splinter, selenium and chromedriver. After the upgrade, the script is failing. In trying to troubleshoot, I created a simple script, that works as…
Bryan
  • 295
  • 1
  • 2
  • 9
2
votes
1 answer

How is a unique id being added to my (python) Splinter screenshot filenames?

I'm using Splinter (in Chrome browser) to take screenshots of website pages. I am naming the files exactly as I want them but unique strings are being added to the end of my filenames (eg, "filename2k3j39.png"). I haven't found anything in the…
2
votes
1 answer

Download file generated after click with splinter

I want to download a file from a website with splinter where the file is generated after a click on a button and provided by a random URL. Clicking the button makes the file save dialog of the browser appear. I can find and click the button…
user3992979
  • 231
  • 4
  • 14
2
votes
1 answer

Splinter: Find by style

I'm using the splinter module on python. I need to check if an element is visible or not on a page and seemingly the only way of telling is style="display: none;" which I can't find a way to detect. How do check this?
2
votes
2 answers

Unable to add a cookie using Selenium & Splinter

Per below, I'm not sure how to troubleshoot this pretty simple usage scenario. I have script (that I run about once a month) that functionally does the identical thing and which used to work as of a month ago. I'd appreciate any pointers on places…
Edward Q. Bridges
  • 16,712
  • 8
  • 35
  • 42
2
votes
1 answer

Python/Splinter + Selenium error: Element is not clickable at point (657, 724)

While trying out web scraping at https://store.obeygiant.com/collections/prints/products/obey-ripped-signed-offset-poster, made an attempt to click a button by id and even by name:…
2
votes
1 answer

How select class , div , tag in splinter?

I am trying to understand splinter functionalities, i tried to find on web but i couldn't found good documentation with pratical examples on splinter so i asked few questions here so that it will help beginner who are trying to learn splinter…
Aaditya Ura
  • 12,007
  • 7
  • 50
  • 88
2
votes
2 answers

selenium.common.exceptions.WebDriverException: Message: session not created exception

I am trying to use splinter on my mac version 10.12.4 and for that selenium is necessery , I installed everything properly but when i run my code it open a blank chrome window and then i am getting these two error one by one : first error…
Aaditya Ura
  • 12,007
  • 7
  • 50
  • 88
2
votes
1 answer

Splinter headless option rejected

I got this error while using the Browser object in splinter: >>> from splinter import Browser >>> brow = Browser('firefox', headless=True) Traceback (most recent call last): File "", line 1, in File…
2
votes
2 answers

Save Credentials in a Session

I am trying to use pdfkit to make a visual backup of our company wiki. I am running into trouble since the website requires the user to be logged in to use. I developed a script using splinter that logs into the company wiki, but when pdfkit…
user8162541