etaoin

igrishaev 2017-11-15T14:46:17.000276Z

[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

πŸ‘ 6
jazzytomato 2017-11-15T14:47:46.000271Z

sweet πŸ‘

jazzytomato 2017-11-15T14:48:32.000271Z

is there a way to change the user agent?

igrishaev 2017-11-15T14:57:48.000325Z

never thought of that. you are welcome to submit an issue =-)

jazzytomato 2017-11-15T15:02:08.000139Z

will do thanks

jazzytomato 2017-11-15T15:14:47.000787Z

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'"]}}}))

igrishaev 2017-11-15T15:37:44.000202Z

btw did you mean by changing UA? do you want webdriver send it or…?

igrishaev 2017-11-15T15:38:54.000300Z

Ah I see, you want to force your browser to send another UA.

jazzytomato 2017-11-15T15:39:28.000231Z

yep

igrishaev 2017-11-15T15:40:44.000696Z

it might be a bit shorter: (chrome {:args ["--user-agent=..."]})

igrishaev 2017-11-15T15:41:13.000370Z

although I will rename :args into args-browser soon