11 lines
342 B
TypeScript
11 lines
342 B
TypeScript
import { Effect } from 'effect'
|
|
import type { Page } from 'puppeteer'
|
|
import { getVariations } from '.'
|
|
|
|
export const CONDITION_CONTAINER_SELECTOR = '[data-scrollel="condition"]'
|
|
|
|
export const getConditionVariations = (page: Page) =>
|
|
Effect.gen(function* () {
|
|
return yield* getVariations(page, CONDITION_CONTAINER_SELECTOR, 'DIV')
|
|
})
|