[13selenium] 15juangj pushed 1 new commit to 06master: 02https://git.io/vbUxV
13selenium/06master 1466b90f1 15Jason Juang: Delete print statement from unit test.
errant_rider joined the channel
errant_rider has quit
errant_rider joined the channel
errant_rider has quit
mach6 has quit
smccarthy joined the channel
errant_rider joined the channel
therue2 has quit
therue joined the channel
errant_rider has quit
Zamerick has quit
smccarthy has quit
andylavarre has quit
Zamerick joined the channel
heddn has quit
smccarthy joined the channel
energizer joined the channel
korg joined the channel
kggr has quit
gobinda joined the channel
smccarthy has quit
smccarthy joined the channel
spathare joined the channel
smccarth_ joined the channel
smccarthy has quit
smccarth_ has quit
smccarthy joined the channel
tim-sl joined the channel
tim-sl
brrian: sorry, was out for the whole day. I'm also connecting via Slack, wonder if that made me drop out?
lucast
tim-sl: I only keep IRC clients for slack users connected if they are active
which means, have said something in the last hour
so, an hour after you say something, it will look like you are no longer here to IRC users
tim-sl
Got it, I figured that might have been what happened
I'd better switch to IRC then - I still have a ZNC instance kicking around I can use, it's just been much less frequent as more and more places switch to Slack walled gardens
lucast
You shouldn't need to switch
Once you start typing, a new one will be created
brrian: if tim-sl isn't around, ping him via @tim
tim-sl
Alright, but I'm happy to switch if it's confusing. I gather that most of the active chat in here is still all IRC and not Slack users :)
brrian
ok
lucast-sl joined the channel
lucast-sl
Heh… just a note, a message starting with `.` will not get relayed to IRC… the bot thinks it’s a command
therue joined the channel
But yeah, your IRC client username is `tim-sl`, I append `-sl` to slack users in case they have an IRC nick registered as the same name with nickserv
tim-sl
Makes sense! Plus can serve as a hint if the client is behaving differently
Hi All, i am writing script in python-selenium.Where web application is openeing multiple browsers. Could you please help me to close all other windows except the main window.
So after successful login one small browser is getting opened(notification window), which is inturrpeting me to fetch xpath from main window.Please help to close other browsers.
WhereIsMySpoon_
DCS: so what I’d do, is I’d get the current window handle and store it in a variable, then use driver.manage().switchTo() and iterate over all the other window handles and call driver.close() after switching to each of them
and at each window handle check that it doesnt equal the main window handle
or even better, just get the list of window handles, remove the one that equals the main handle, and iterate over the list of remaining handles and call driver.close() after switching to each one
DCS
looking nice solution
Thank you, will try
luke-sl joined the channel
luke-sl
there's a few diff ways you could do it. That way is probably best. You could even just return the indices (As you don't care about the object proper). Not sure if that's quicker, depends on language possibly.
DCS
i tried with window_handles, but its giving only one id
i have main browser and one notification window, tried to iterate the window handle, which is giving me one id