continue-custom/extensions/vscode/e2e/selectors/Autocomplete.selectors.ts
2024-12-11 13:26:59 -08:00

11 lines
317 B
TypeScript

import { By, WebDriver } from "vscode-extension-tester";
export class AutocompleteSelectors {
public static async getGhostTextContent(driver: WebDriver) {
const element = await driver.findElement(
By.xpath("//span[contains(@class, 'ghost-text-decoration')]"),
);
return element.getText();
}
}