Comments (4)
- There is a method for firefox because Mozilla created a specific endpoint for it that was easy to just use.
- There is a way to do it currently in Chrome that uses Chrome Devtools Protocol, but we are not adding wrappers to CDP because we are looking to replace it with the BiDi spec.
This is a good request to add to a High Level API for BiDi, though, and we are no longer tracking that in another issue, so I'll leave this open.
@pujagani what do you think is the right API for this? driver.page.screenshot(params)
? (does page
make sense in this context vs the script
context we're using with other methods? Let's discuss.
from selenium.
@lwassermann, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
from selenium.
Since "captureScreenshot" command comes under browsing context in the spec https://w3c.github.io/webdriver-bidi/#command-browsingContext-captureScreenshot. I think page looks good to me.
What do others think? @diemol @p0deje
from selenium.
page
sounds good. But how do we bring together the current screenshot methods and this new one?
from selenium.
Related Issues (20)
- [🐛 Bug]: Selenium Manager is encountering an issue with the setProxyAutoconfigUrl() method. HOT 2
- [🐛 Bug]: CEF browser is not activating while switching to new window HOT 2
- [🐛 Bug]: vertical size not matching HOT 2
- [🐛 Bug]: [dotnet] Unable to use wrapped IWebElements from EventFiringWebDriver within Actions HOT 1
- [🐛 Bug]: headless mode error of chrome 129 HOT 5
- [🐛 Bug]: HOT 4
- [🐛 Bug]: HTTP exception thrown HOT 2
- [🐛 Bug]: Cannot open Chrome session with incognito mode along with Bidi CDP HOT 7
- [🐛 Bug]: Tracing seems to be affected with the Selenium version org.seleniumhq.selenium:selenium-java:4.24.0 HOT 8
- [🐛 Bug]: ava.lang.NoSuchMethodError: 'void org.openqa.selenium.remote.service.DriverFinder.<init> HOT 1
- [🐛 Bug]: inconsistent tagging for the release versions HOT 3
- [🐛 Bug]: Text is considered as invisible when using native dialog inside a web component HOT 2
- [🐛 Bug]: NoSuchElementException not thrown when using implicitly_wait in BrowserStack HOT 5
- [🐛 Bug]: WARNING: Unable to find an exact match for CDP version 129, returning the closest version; found: 128; Please update to a Selenium version that supports CDP version 129 HOT 2
- [🐛 Bug]: selenium safari with httpauthentication HOT 3
- [dotnet] [bidi] Earlier preview feedback gathering HOT 1
- [🐛 Bug]: On linux OS, while using chrome in headless mode, Css properties of screen are changing (screenshot of popup window is getting truncated) HOT 2
- [🚀 Feature]: [dotnet] [bidi] Support SetCacheBehavior in Network module HOT 1
- [🚀 Feature]: [dotnet] [bidi] Support browser GetClientWindows command HOT 2
- [🐛 Bug]: Memory Leak Issue Report HOT 7
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 selenium.