How to open a website in a headless browser via js on the client side?

Hello.

There is such task - you need the client side to access a certain website to parse the data and output the data to the client.
Just a request via ajax it seems to work for cors.

1. What can I use? Like some js frameworks do not use a real browser like selenium.

2. How to use this framework on the client, like the right way to use node modules on the client?
March 19th 20 at 09:02
1 answer
March 19th 20 at 09:04
No way.
best effort of what is possible to do an invisible iframe, but in most cases X-Frame-Options will not allow you to open a random website. - macy_Weissnat commented on March 19th 20 at 09:07

Find more questions by tags JavaScript