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
0
votes
1 answer

How to use loop in splinter and lettuce test?

I want to ask whether it is possible to use for-loop or while-loop together with splinter and lettuce BBD test. One of my scenario is that: I want to loop a table and change each entry status until all entries status are changed. I can change one…
susanna
  • 1,395
  • 3
  • 20
  • 32
0
votes
0 answers

Is there a possibility to add a progress bar to splinters browser code?

I have a code which downloads lots of webpages (it takes a screenshoots of them, to be clear). Is there any way to add to my application a progress bar? I use wx, but I would like to know if there is a progress bar in a splinter (seleniumHQ) library…
Katie
  • 3,517
  • 11
  • 36
  • 49
-1
votes
1 answer

Cannot select HTML element with BeautifulSoup

Novice web scraper here: I am trying to scrape the name and address from this website https://propertyinfo.knoxcountytn.gov/Datalets/Datalet.aspx?sIndex=1&idx=1. I have attempted the following code which only returns 'None' or an empty array if I…
-1
votes
2 answers

How create session in splinter or selenium?

I am trying to scrap some data from a website which require login , (i tried with requests but it is not working with requests) so i used splinter and i am succeed in login via xpath but the problem is , I want to scrap some data using beautifulsoup…
Aaditya Ura
  • 12,007
  • 7
  • 50
  • 88
-1
votes
1 answer

How to find an element's position using XPath?

I've been trying to write a simple script in order to upload 200+ links to a website I'm working in (I have poor knowledge on python and even poorer in HTML, of course I wasn't working as a web developer, I just need to upload these links). Well,…
orlandini
  • 123
  • 1
  • 6
-1
votes
1 answer

python- using splinter to open and login webpage failed, help!!

https://idmsa.apple.com/IDMSWebAuth/signin?appIdKey=990d5c9e38720f4e832a8009a0fe4cad7dd151f99111dbea0df5e2934f267ec8&language=HK-en&segment=R409&grpcode=g001&view=6&rv=1¶mcode=h006&path=%2Fgeniusbar%2FR409%2Fen_HK&path2=%2Fgeniusbar%2FR409%2Fen_H…
caesar318
  • 3
  • 2
-1
votes
1 answer

How to use selenium capabilities for Firefox in splinter?

I'm using python splinter which is built on selenium, i want to use another webdriver for firefox as starting from version 47 firefox changed the webdriver as per below…
Amr
  • 2,045
  • 14
  • 17
-1
votes
1 answer

Python Splinter issue

I just installed Splinter, input simple code like below but have error. Can someone help me on this? Thanks. from splinter import Browser b=Browser() url = "http://www.google.com" b.visit(url) Error messages: Traceback (most recent call last): …
henry
  • 25
  • 3
-1
votes
1 answer

How to click an invisible element with selenium?

i used this code to check splinter's clicking button option: from splinter import Browser with Browser() as browser: # Visit URL url = "http://www.google.com" browser.visit(url) browser.fill('q', 'splinter - python acceptance…
-1
votes
1 answer

Selenium performance

I'm using the Python library splinter (built on top of selenium) to do web testing. I found two performance issues which are making by web testing process extremely slow. For some reason, the web driver seems to wait for around 10 seconds before…
Michael Gradek
  • 2,628
  • 3
  • 29
  • 35
-1
votes
1 answer

Splinter browsing takes too long

I'm using splinter to navigate a website, but the issue is that I have hundreds of pages with many images and it takes too long to go through all of them. I wouldn't like to change technology, but I am willing to take trade-offs like making the…
Michael Gradek
  • 2,628
  • 3
  • 29
  • 35
-2
votes
1 answer

Selenium — visiting URL with global variables

Suppose I have a config.cfg file with the following: [Info] keyword: Cool Shirt How would I pass keyword into a URL, such that driver.get("http://www.somewebsite.com/checkout?keyword") achieves the same result as…
solo
  • 743
  • 2
  • 6
  • 17
-2
votes
1 answer

Python: Reproduce Splinter/ Selenium Behaviour for Testing a Website That Uses Javascript

I have a bot which interacts with a website using Splinter and Selenium. The website uses Javascript and updates in real time. The bot works well 90% of the time, but due to random events it will sometimes raise an Exception. It is very hard for me…
Will Beauchamp
  • 579
  • 2
  • 7
  • 18
-2
votes
1 answer

Saving an image using splinter python

I have an image in site and i want to save it to my computer but i cant find way. the html relevent code is:
1 2 3
21
22