Skip to main content

Questions tagged [splinter]

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

splinter
0 votes
0 answers
39 views

Webscrape URL with splinter and Selenium Chrome driver

I'm running Python 3.7.10 with splinter 0.21.0. I'm trying to scrape the URL listed in the code below. When I run the code, I'm getting an error message also shown here. Do you see what the issue ...
user3476463's user avatar
  • 4,445
0 votes
0 answers
35 views

Splinter in Rasberry Pi 5

I am having issues running a very basic script on my rasberry pi from splinter import Browser browser = Browser('chrome') # Visit Google browser.visit("https://www.google.com") # # import ...
Sotana 1's user avatar
1 vote
1 answer
102 views

Pytest and Selenium in Docker : wrong database used for the test suite?

I'm struggling to setup my test runner for a new Django project. I want to use these libraries : Django 4.2 pytest-django 4.6.0 pytest-splinter 3.3.2 And I want it to work with Docker. I got a head ...
Ruff9's user avatar
  • 1,182
1 vote
0 answers
139 views

Django / Pytest / Splinter : IntegrityError duplicate key in test only

I know it's a very common problem and I read a lot of similar questions. But I can't find any solution, so, here I am with the 987th question on Stackoverflow about a Django Integrity error. I'm ...
Ruff9's user avatar
  • 1,182
-1 votes
1 answer
87 views

Pytest automated browser keep getting out of fullscreen, when running test in headless mode

I have a test which needs to runs in fullscreen mode of the browser. It is working fine in automated browser. But when running into headless mode. The browser is getting out of fullscreen mode. I have ...
Hrithik Maurya's user avatar
0 votes
1 answer
154 views

Unable to mock the location of automated browser: pytest, selenium

I am using selenium, pytest, splinter and gherkins, I have a test case where I want to mock the browser actual location and timezone. I tried many approach like, executing js scripts and emulating ...
Hrithik Maurya's user avatar
0 votes
1 answer
95 views

Locating element in splinter/selenium that require scroll

I am trying to locate an input field that comes in view after scrolling(horizontally), when i am trying to access it without scrolling, the error is "Element is not interactable". ...
zohair badshah's user avatar
0 votes
0 answers
30 views

Web scrapping: How do I download the images that appear on mouseover from a page that do not have the img tag?

While web scrapping I'm trying to download the images that appear on a page on the mouseover action. You can see below how 2 pictures are identified in the code. How can I download them? I'm using ...
duarte harris's user avatar
3 votes
2 answers
2k views

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 ...
sdog's user avatar
  • 31
0 votes
2 answers
75 views

Splinter Python ElementDoesNotExist for is_visible()

In my code I have following line: browser.find_by_css(business_role_expand).is_visible(1000) According to the documentation, the code should wait maximum of 1000s for the element specified by the CSS ...
eXPRESS's user avatar
  • 455
0 votes
0 answers
21 views

Sprinter Browser returns None

I am trying to build a simple splinter application in python but I am getting a Type when calling visit(). Browser apparently returns None. I use python 3.10.6 and splinter 0.18.1. Note this example ...
hans's user avatar
  • 1
-1 votes
1 answer
120 views

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 ...
Adam Bachrach's user avatar
0 votes
0 answers
113 views

Scraping data inside an iframe with splinter

Currently using splinter and trying to get some data from this page : https://ecomm.one-line.com/one-ecom/manage-shipment/cargo-tracking?ctrack-field=CAAU4023030&trakNoParam=CAAU4023030 Since ...
Simao's user avatar
  • 531
0 votes
1 answer
277 views

Unable to create a Browser() instance with Splinter

I'm following the splinter documentation , which explicitily says : First of all, import Browser class and instantiate it. from splinter import Browser browser = Browser() I have done the same thing ...
Simao's user avatar
  • 531
1 vote
0 answers
78 views

How do I use Splinter/chromium-chromedriver in a Docker container?

This is my dockerfile code and my .py code uses splinter for the chromedriver. FROM python:3.7-alpine COPY requirements.txt . RUN apk update && \ apk add make automake gcc g++ ...
Oliver Dixon's user avatar

15 30 50 per page
1
2 3 4 5
22