We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5a6a2 commit 468897aCopy full SHA for 468897a
src/cdk/testing/selenium-webdriver/selenium-web-driver-element.ts
@@ -161,7 +161,7 @@ export class SeleniumWebDriverElement implements TestElement {
161
async setContenteditableValue(value: string): Promise<void> {
162
const contenteditableAttr = await this.getAttribute('contenteditable');
163
164
- if (contenteditableAttr !== '' && contenteditableAttr !== 'true') {
+ if (contenteditableAttr !== '' && contenteditableAttr !== 'true' && contenteditableAttr !== 'plaintext-only') {
165
throw new Error('setContenteditableValue can only be called on a `contenteditable` element.');
166
}
167
0 commit comments