Comments (2)
There's the save_screenshot() method to save screenshots at times other than test failures. A failure is a natural place to have a screenshot taken automatically because that's when something went wrong. Otherwise, there'd be no way to know where to have them. If you take a screenshot after every single action like a click, it's going to take up a lot of unnecessary disk space. And even then, you might not know that anything was wrong unless you looked through all the screenshots. The real problem here is the reason behind why I created MasterQA https://github.com/mdmintz/MasterQA . It's for when you want human eyes to look at something, but still have automation do all the heavy lifting so that manual QA time is minimized. Check out that repo to see for yourself.
from seleniumbase.
Hi @cchan, you can add --ss
as a pytest
command-line option to save a screenshot after every test that runs!
pytest --ss
from seleniumbase.
Related Issues (20)
- Can't get passed cloudflare using UC mode HOT 1
- UC Mode: Video 2 is now on YouTube! HOT 3
- Request headers not changed if UC mode and Cloudflare HOT 3
- Cannot perform click on a day on datepicker HOT 1
- try to pass ChromeDriverManager, with error HOT 1
- UC detected on linux HOT 4
- SSL Errors on MacOS when downloading chromedriver HOT 1
- Driver Exits with STATUS (selenium-grid-hub (terminated by SIGTERM)) HOT 5
- Exporting recorded script to json HOT 3
- `headless2=True` is detectable HOT 1
- Not able to run on ARM based Ubuntu HOT 1
- Excessive CPU and RAM usage HOT 3
- Highlight all element from sb.find_visible_elements() using for loop HOT 6
- Improvements to highlighting elements HOT 1
- Not able to Login on ticketmaster HOT 3
- Slow opening Chrome (1 minute) on Ubuntu headless HOT 9
- Interrupting the recorder from outside the terminal HOT 1
- How to bypass reCAPTCHA HOT 4
- Add argument to Chromium with Driver class HOT 1
- When using ThreadPoolExecutor, a minor problem occurs. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seleniumbase.