html-table-to-dataframe
Version:
Convert HTML tables to data-frames
23 lines (22 loc) • 427 B
TypeScript
export type TableData = {
[key: string]: string;
}[];
export type Attributes = {
[key: string]: string;
};
export type LocatorID = {
attributes: Attributes;
type: string;
};
export type RowData<T> = {
[key: string]: T;
};
export type DataFrame = {
[key: string]: LocatorID;
};
export type DataFrameOptions = {
header?: string[];
footer?: boolean;
locatorId?: string;
testId?: string;
};