SeleniumHQ / SeleniumHQ/docker-selenium
[🚀 Feature]: Add an endpoint for clipboard
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.7k
- Forks
- 2.5k
- Avg merge
- 10h 16m
- Merged PRs (30d)
- 20
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No implementation files or tests are named. Start by locating the existing session endpoint routing and browser-container integration, then determine how clipboard data could be exposed for the proposed session path. Done requires an agreed response format, browser-compatibility approach, and tests for the endpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, go
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100