Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🚀 Feature]: Add an endpoint for clipboard #2652

Open
ekadov opened this issue Feb 11, 2025 · 4 comments
Open

[🚀 Feature]: Add an endpoint for clipboard #2652

ekadov opened this issue Feb 11, 2025 · 4 comments

Comments

@ekadov
Copy link

ekadov commented Feb 11, 2025

Feature and motivation

Hi.
It could be very useful to have a feature to read clipboard from browser container. The problem is that reading text from clipboard is not so simple due to security restrictions of different browsers.
For example, using Java's AWT is not compatible with remote browser.

Usage example

I can offer a Selenoid's way as an example. There could be an endpoint to get clipboard data.
For example:
GET request to -> /session/{sessionId}/se/clipboard.

Copy link

@ekadov, 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!

@VietND96
Copy link
Member

With the example endpoint given, I think it should be handled in the core. Do you think so, @diemol?

@diemol
Copy link
Member

diemol commented Feb 11, 2025

How could Selenium do it? It cannot bypass those restrictions. You could propose the feature to be added to the standard.

https://github.com/w3c/webdriver-bidi

@diemol diemol closed this as not planned Won't fix, can't repro, duplicate, stale Feb 11, 2025
@diemol diemol reopened this Feb 11, 2025
@diemol
Copy link
Member

diemol commented Feb 11, 2025

Closed by mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants