fix: use template literal
This commit is contained in:
parent
6c046263ea
commit
c4d50e7943
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ export class SelectorUtils {
|
|||
return driver.findElement(
|
||||
// By.xpath("//*[contains(@class, 'ced-') and matches(@class, 'ced-2-TextEditorDecorationType[0-9]+-4')]")
|
||||
// By.css(`[class*='${className}']`),
|
||||
By.xpath("//span[contains(@class, '${className}')]"),
|
||||
By.xpath(`//span[contains(@class, '${className}')]`),
|
||||
// By.css("div[class*='TextEditorDecorationType'][style*='filter']")
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue