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

Automatically copy remote worker URL to the system clipboard #1418

Closed
AndreyBelym opened this issue Apr 18, 2017 · 5 comments
Closed

Automatically copy remote worker URL to the system clipboard #1418

AndreyBelym opened this issue Apr 18, 2017 · 5 comments
Labels
AREA: server STATE: Stale An outdated issue that will be automatically closed by the Stale bot. SYSTEM: CLI A command-line interface issue. TYPE: enhancement The accepted proposal for future implementation.

Comments

@AndreyBelym
Copy link
Contributor

AndreyBelym commented Apr 18, 2017

Are you requesting a feature or reporting a bug?

Feature (idea of @georgiy-abbasov)

What is the current behavior?

Currently user have to highlight and copy the remote worker url by hands. It's slow and inconvenient.

What is the expected behavior?

Copy remote worker url to the system clipboard. We can use https://github.com/sindresorhus/clipboardy to do this.

@AndreyBelym AndreyBelym added AREA: server SYSTEM: CLI A command-line interface issue. TYPE: proposal labels Apr 18, 2017
@AndreyBelym AndreyBelym self-assigned this Apr 18, 2017
@AndreyBelym AndreyBelym changed the title Automatically copy remote worker to the system clipboard Automatically copy remote worker URL to the system clipboard Apr 18, 2017
@okvv
Copy link

okvv commented Jun 7, 2017

const clipboardy = require('clipboardy');
.
.
.
var connectionUrl = testCafe.browserConnectionGateway.connectUrl; //as in original code

if (clipboardy) {
clipboardy.writeSync(connectionUrl);
}


I've only learned about TestCafe today (so apply with a grain of salt)

  • question to community: what should we do with this URL (assume remoteCount>1)?

@AndreyBelym
Copy link
Contributor Author

Hello @okvv, you can connect any number of browsers using this URL, so if remoteCount == n, TestCafe will wait until n browsers will navigate to the URL.

@chinjon
Copy link

chinjon commented Aug 6, 2018

Is there traction with this feature, I found a use case for this that would be extremely helpful. Ideally, the remote URL would be pasted into the clipboard or accessible somewhere.

@AndreyBelym AndreyBelym added TYPE: enhancement The accepted proposal for future implementation. and removed TYPE: proposal labels Feb 6, 2019
@AndreyBelym AndreyBelym removed their assignment Aug 22, 2019
@github-actions
Copy link

github-actions bot commented Dec 7, 2020

This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open.

@github-actions github-actions bot added the STATE: Stale An outdated issue that will be automatically closed by the Stale bot. label Dec 7, 2020
@github-actions
Copy link

We're closing this issue after a prolonged period of inactivity. If it still affects you, please create a new issue with up-to-date information. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AREA: server STATE: Stale An outdated issue that will be automatically closed by the Stale bot. SYSTEM: CLI A command-line interface issue. TYPE: enhancement The accepted proposal for future implementation.
Projects
None yet
Development

No branches or pull requests

3 participants