Optimus icon indicating copy to clipboard operation
Optimus copied to clipboard

Optimus and Cloudflare

Open Uceef94 opened this issue 4 years ago • 2 comments

Hi,

I'm willing to switch to Optimus but sadly there is a lack on documentation, so I hope someone can help answering the following questions:

1- Does Optimus handle well cloudflare based websites? 2- How to enable cookies? 3- Does it handle auto-redirection, if yes how? 4- How to inject javascript?

Thank you in advance!

Uceef94 avatar Oct 21 '20 11:10 Uceef94

  1. I don't know what cloudflare is, but in theory optimus can work with any site. If something doesn't work, it is most likely due to some kind of bug.
  2. Cookies is always enabled
  3. For http interaction I use .NET's HttpClient. It supports redirect. But it doesn't work like it does in your favorite browser.
  4. Try to look here: https://github.com/RusKnyaz/Optimus/blob/develop/docs/snippets.md#pre-define-javascript-functions

RusKnyaz avatar Nov 05 '20 15:11 RusKnyaz

If you are interested in usage scenarios, I recommend looking at this sample. It utilizes most of the Optimus features

RusKnyaz avatar Nov 05 '20 15:11 RusKnyaz