electron-userland / electron-userland/spectron

setValue doesn't work after update to spectron 6

Open
#369 5 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.7k
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Hi,
we updated from spectron 5 to 6 (and from electron 2 to 4).

Unfortunately setValue doesn't work anymore for some fields e.g.

``

other fields work just fine

``

we used

`await client.element(selector).setValue(value);`

now we use as a workaround

` await client.element(selector).click();
await client.clearElement(selector);
await client.element(selector).keys(value);`

any idea what could be the cause?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.