[etaoin "0.2.0"]
has been released with all the features that were in snapshot-branch only. These are:
- headless Firefox
- API changes to support the latest FF driver
- setting timeouts
- more wait-specific macroses
- better SPA support
- scrolling functions.
the changelog and readme files in repo
sweet π
is there a way to change the user agent?
never thought of that. you are welcome to submit an issue =-)
will do thanks
actually I can just use capabilities
(def driver (eta/chrome {:capabilities {:chromeOptions {:args ["--user-agent='Mozilla/5.0 (iPhone; CPU iPhone OS 8_1_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B466 Safari/600.1.4'"]}}}))
btw did you mean by changing UA? do you want webdriver send it or�
Ah I see, you want to force your browser to send another UA.
yep
it might be a bit shorter: (chrome {:args ["--user-agent=..."]})
although I will rename :args
into args-browser
soon