Skip to content

[🐛 Bug]: Cursor disappears from terminal after running wdio #12269

@zeljkofilipin

Description

@zeljkofilipin

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

8.32.1

Node.js Version

20.11.1

Mode

Standalone Mode

Which capabilities are you using?

No response

What happened?

Every time I run a wdio script, the cursor from the terminal disappears. Cursor is very useful if I want to use wdio repl (via browser.debug) or if I want to edit a command in terminal.

I have reproduced this on macos 14.3.1 and ubuntu 22.04.3.

What is your expected behavior?

The cursor should still be there.

Before, there is a cursor:

before

After running the script, the cursor is gone:

after

How to reproduce the bug.

I have created a very small script:

https://github.com/zeljkofilipin/wdio-simple

After the repo is cloned, run the script

npm ci
node ./run-in-script.js

Relevant log output

Nothing in log output is relevant, but I can't submit the issue without entering something here.

$ node ./run-in-script.js

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Metadata

Metadata

Labels

Bug 🐛Needs InvestigationIssues that require more information on the problem.help wantedIssues that are free to take by anyone interested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions