SeleniumHQ / SeleniumHQ/docker-selenium

[🚀 Feature]: Add an endpoint for clipboard

Open
#2,652 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

needs-triaging
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.