Encountering difficulties with automated testing of clipboard interactions using navigator.clipboard.writeText in our extension.
Proposed Change
To ensure reliable testing and compatibility with our testing framework, we propose to modify both the implementation and the tests. Instead of relying on the clipboard API, we will store the text in a hidden page element and use selection and execCommand for copying.
Expected Benefits
Ensures greater reliability and consistency in automated tests.
Issue Summary
Encountering difficulties with automated testing of clipboard interactions using
navigator.clipboard.writeText
in our extension.Proposed Change
To ensure reliable testing and compatibility with our testing framework, we propose to modify both the implementation and the tests. Instead of relying on the clipboard API, we will store the text in a hidden page element and use
selection
andexecCommand
for copying.Expected Benefits
Ensures greater reliability and consistency in automated tests.
Feature #1