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 can I force splinter to use a default browser?

I've searched thoroughly and still can't find the answer to this question. I finally figured out how to prefill a form in an iframe using splinter, but it only works in firefox on my computer, while not working in another browser, let alone a mobile…
Bennybear
  • 335
  • 2
  • 13
0
votes
1 answer

Selenium: browser.visit(url) fails on linux but works on windows

I am running a simple splinter (uses selenium) script which does browser.visit(url) On my windows machine, the python script runs fine. However, on my linux server, the script will not run. It immediately stops at above and crashes. File…
user299709
  • 4,922
  • 10
  • 56
  • 88
0
votes
2 answers

Force SSLv3 or TLSV1 in splinter

I am trying to visit gateway.playneverwinter.com with splinter from splinter import Browser browser = Browser() browser.visit('https://gateway.playneverwinter.com') if browser.is_text_present('Neverwinter'): print("Yes, we made it to the…
Evpok
  • 4,273
  • 3
  • 34
  • 46
0
votes
2 answers

splinter: element not found inside iframe

I am trying to click on a link called 'Estimate Shipping Fee' from http://www.dresslink.com/women-woolen-winter-trench-double-button-fur-collar-coat-p-9442.html that will open up an iframe overlay that fetches content via ajax and populates…
KJW
  • 15,035
  • 47
  • 137
  • 243
0
votes
0 answers

Testing search flight ticket web-form using splinter

Im' testing ticket search form on http://www.go2see.ru trying to get access to it elements: button, fields. I need to fill 2-nd text field "Destination". I using following code and got following exception: from splinter import Browser browser =…
0
votes
0 answers

How to get Python to log on to a website, load a presaved data search and then export the data page by page

I am trying to write a python script that will load a presaved search for data on a webpage(this is the Orbis dataset accessed through a library), and then export the data to excel or CSV. This involves: Starting here: link I need to click on the…
0
votes
2 answers

Python Splinter click isnt working

I just started working with python + splinter http://splinter.cobrateam.info/docs/tutorial.html Unfortunately I can't get the example to work. I cannot tell if: browser.find_by_name('btnG') is finding anything. Second, I try to click the button…
user1639926
  • 852
  • 2
  • 11
  • 21
0
votes
2 answers

python- using splinter to open and login webpage but need to save the complete webpage

I am using splinter to take and email and password then open up facebook in firefox and login which can be seen in the code below. this all works fine but Im looking for a way to save the webpage once logged in from looking around splinter can not…
user3102482
  • 15
  • 2
  • 2
  • 7
0
votes
1 answer

UnicodeDecodeError: 'ascii' codec can't decode byte

I have the following code: # -*- coding: utf-8 -*- import splinter import urllib browser = splinter.Browser('firefox') miss = ("rúin",) for i in miss: browser.visit(link) browser.fill('word', i) Which gives me the…
Baz
  • 12,713
  • 38
  • 145
  • 268
0
votes
1 answer

Lettuce django integration

I have an issue with Lettuce + Django + Splinter. Lettuce does not seem to be able to pick up changes to the database. Below, create_user and create_post generate and save a user and a few post models. However when splinter opens the browser - there…
Ruslan Osipov
  • 5,655
  • 4
  • 29
  • 44
0
votes
0 answers

implementing Paper-machines without zotero through python?

How to externally link a code to paper machines(which is an add-on for zotero), to produce and store word clouds etc, without running actual zotero standalone/firefox add-on. I am completely new to Java and Python, so need guidance. I have done some…
0
votes
1 answer

Using alert.accept() multiple times does not function properly

Hi I am currently new to being a Automated QA (in Splinter) tester using Python, What I want to do is to test a payment page to see if there are prompts if the required fields are empty and log it into the notepad. My problem is that when I use…
cor03rock
  • 189
  • 1
  • 2
  • 9
0
votes
3 answers

Web page already open (in source format); just need to read that text, using Selenium

Let's say I have a tab already open in the browswer. Its URL is: view-source:http://www.google.com/webhp?source=search_app Now that it's already open and displayed, I just want to read the text that's in the client window. (Get a context to the…
user225626
  • 1,091
  • 5
  • 16
  • 32
0
votes
1 answer

I don't know how to use statement driver.find_element(By.LINK_TEXT,

I tried writing driver.find_element(By.LINK_TEXT, value='10').click() and I get the following command line feedback: uname = driver.find_element(By.LINK_TEXT, '10').click() File…
user225626
  • 1,091
  • 5
  • 16
  • 32
0
votes
1 answer

Click on any one of "1 2 3 4 5 ..." on a page by using Selenium in Python (e.g., Splinter):

I have HTML that looks like the three following sample statements: ... 12
user225626
  • 1,091
  • 5
  • 16
  • 32
1 2 3
21
22