etaoin 2018-06-19

@blackawa has joined the channel

Hi, how can I change active tab with chrome? I need to test a page which open another tab…

Resolved. There is get-window-handles function in etaoin.api . 😳

@blackawa has left the channel

@mrg has joined the channel

i'm killing myself with this

i have a bunch of {:css "li.search-result a"} elements

and I want to click on the nth one of that

and I can't figure out how to do that

I tried a query-all with nth and a query with :index n but in both cases I get a string back that looks like "0.08110675983330973-27"

i tried passing that to click but receive an "Failed to execute 'evaluate' on 'Document': The result is not a node set"

So I'm pretty much at my wit's end.

btw (click driver {:css "li.search-result a" :index 5}) also doesn't work. No matter the index, I always get the first element

okay, this is the only thing that seems to work: (click-el driver (nth (query-all driver (el :search :search-results)) 6))

i think the :index function is broken somehow in 2.8.0

@ryan.asensio has joined the channel