brandon1024/find

find+ does not work if a website uses shadow DOMs

KrischnaGabriel opened this issue · 0 comments

Issue Description

Text in shadow DOMs cannot be fond by find+.

Steps to Reproduce

It's applicable to all websites utilizing shadow DOMs, but here's an example.

  1. Go to https://www.alodokter.com/
  2. Copy and search with find+ for a word from the banner. Example: "Mudah"

Expected Behavior

At least one search result.

Actual Behavior

Zero results.

Perhaps useful Documentation

This article gives some info on how to go trough shadow DOMs programmatically.
https://docs.apify.com/academy/node-js/scraping-shadow-doms