etaoin 2024-10-02

has anyone tried to start up etaoin and but for a specific hostname. My problem is that in a kubernetes cluster i can't start the etaoin process properly 😕 because i guess 127.0.0.1 isn't set as localhost 😕

nevermind issue was the args

you need at least these

--no-sandbox
--disable-gpu
--disable-setuid-sandbox
--disable-dev-shm-usage

how do i set a header in each request is that possible

Heya @mathaeus.peter.sander! Etaoin is a thin wrapper over WebDrivers. The WebDriver philosophy is that it simulates a human being interacting with a browser. As such, it doesn't give you any easy access to headers. That said you can set the user agent: https://cljdoc.org/d/etaoin/etaoin/1.1.42/doc/user-guide?q=header#opt-user-agent What header are you trying to set?

Yeah i also saw the specification doesnt have it. As you told in an issue on github. I'm in conversation if its possible for our current waf to check for a specific session cookie value.

There is a bot protection in place that wont let me through currently but i'll find a way

Some WebDriver implementations support "virtual authenticators." I haven't looked into this yet. For example, see geckodriver changelog: https://github.com/mozilla/geckodriver/releases/tag/v0.34.0

@mathaeus.peter.sander, you also have access to cookies through Etaoin. See get-cookie, get-cookies, set-cookie, delete-cookie and delete-cookies.

Yeah thats why i hope our bot protection allows cookies