15:22 PM
jackofspaces-sl has quit
15:27 PM
chele has quit
15:43 PM
simonstewart has quit
15:44 PM
jsdorlus joined the channel
15:47 PM
elgatov joined the channel
15:49 PM
jsdorlus has quit
15:56 PM
elgatov
morning guys
15:57 PM
i would like to ask you about how do you show in console or log which step of a testcase is the test on
16:02 PM
simonstewart joined the channel
16:03 PM
barancev|3
simonstewart: yt?
16:03 PM
simonstewart
barancev|3: kind of
16:03 PM
End of the day here
16:03 PM
G'day jimevans!
16:03 PM
barancev|3
re: issue #5064
16:03 PM
selbot2
16:03 PM
jimevans
and it's :friday
16:03 PM
selbot2
16:04 PM
simonstewart
barancev|3: what about the issue is troublesome?
16:04 PM
barancev|3
sounds like cloud vendors expect bindings send W3C payload despite the fact they act like OSS implementations
16:05 PM
simonstewart
Then that's a bug for the cloud vendor to fix
16:05 PM
barancev|3
can we send mixed payload (both name and handle) at the same time?
16:05 PM
simonstewart
We could, but it's really just a problem for the cloud vendor to fix
16:05 PM
barancev|3
yes, I see, just to work around this issue
16:05 PM
simonstewart
If we put in the workaround, the actual fix will never be implemented
16:05 PM
barancev|3
true :)
16:06 PM
simonstewart
And there are SauceLabs folk here
16:06 PM
(Is it BrowserStack too?)
16:06 PM
I think there are BrowserStack folks here too, but I could be wrong
16:06 PM
barancev|3
according to the comments, yes
16:07 PM
ok, got it, we won't fix it :)
16:07 PM
s/fix/work around/
16:08 PM
simonstewart
Though we might want to check that the protocol conversion does the Right Thing
16:08 PM
barancev|3
what protocol conversion?
16:08 PM
we use pass -hrough now
16:08 PM
pass-thought
16:08 PM
simonstewart
The Selenium Server does protocol conversion between w3c and jwp dialects
16:09 PM
barancev|3
does it?
16:09 PM
simonstewart
Passthrough only matters when the downstream and upstream ends speak the same dialect
16:09 PM
Yes
16:09 PM
:)_
16:09 PM
barancev|3
there is no more option to disable passthrough mode
16:09 PM
simonstewart
See above
16:10 PM
barancev|3
and I thought it's the binding that should adapt to the protocol version
16:10 PM
simonstewart
Passthrough only matters when the upstream and downstream nodes speak the same protocol dialect
16:10 PM
The server handles it too
16:10 PM
barancev|3
if it's our server
16:10 PM
WhereIsMySpoon has quit
16:11 PM
we don't know what saucelabs implementation does
16:11 PM
I can't reproduce the issue with vanilla selenium server
16:11 PM
simonstewart
We don't know
16:13 PM
16:13 PM
selbot2
16:13 PM
simonstewart
This is where the magic happens
16:17 PM
jsdorlus joined the channel
16:19 PM
jmvanel joined the channel
16:27 PM
freefork_afk is now known as freestyledork
16:36 PM
kpattich__ has quit
16:39 PM
jmvanel has quit
16:49 PM
simonstewart has quit
16:50 PM
simonstewart joined the channel
16:55 PM
cdbattag_ joined the channel
16:57 PM
cdbattags has quit
16:57 PM
simonstewart has quit
17:10 PM
Qulu has quit
17:24 PM
marxarelli joined the channel
17:49 PM
jimevans
barancev|3: yt?
17:50 PM
barancev|3
here
17:50 PM
jimevans
consider the following element: <a> link text </a>
17:51 PM
find by link text "link text"
17:51 PM
atom won't find it
17:51 PM
(but will find same item wrapped by normal breaking spaces)
17:54 PM
question is, whether the atom should replace non-breaking spaces with normal breaking spaces (at least for finding purposes)
17:55 PM
barancev|3
afaik it calls an equivaent of getVisibleText, that converts to regular spaces
17:55 PM
jimevans
apparently not.
17:56 PM
barancev|3
let me look at the code...
17:56 PM
jimevans
it does, in fact, call getVisibleText, but the finder doesn't collapse the leading or trailing space for finding on full link text if they're
17:56 PM
though it does collapse those for normal breaking spaces.
17:57 PM
barancev|3
yes, it does not collapse them
17:57 PM
it collapses regular spaces only
17:59 PM
barancev|3 is reading bot.dom.appendVisibleTextLinesFromTextNode_
18:01 PM
too sophisticated for friday evening :)
18:03 PM
jimevans: I think the magic is implemented in bot.dom.concatenateCleanedLines_
18:05 PM
first of all getVisibleText changes non-breaking spaces to \xa0, then collapses all breaking spaces, and then replaces \xa0 with regular spaces
18:05 PM
kpschmid_ joined the channel
18:06 PM
jimevans
which leaves regular spaces at the beginning and the end if they were non-breaking spaces in the original string.
18:06 PM
barancev|3
yes
18:07 PM
and what the spec says?
18:07 PM
jimevans
kinda seems like we shouldn't do that if getText() is supposed to trim spaces from beginning and end.
18:07 PM
kpschmid_ has quit
18:07 PM
kpschmid_ joined the channel
18:07 PM
jsdorlus has quit
18:07 PM
jsdorlus joined the channel
18:08 PM
barancev|3
:spec
18:08 PM
selbot2
18:08 PM
jimevans
the spec says that finding by (full) element text should be done be "removing all whitespace from the start and the end of the string", and "whitespace" is further defined as "characters from the Unicode Character Database with the Unicode character property 'WSpace=Y'".
18:08 PM
kpschmidt has quit
18:09 PM
barancev|3
1. Let rendered text be the value that would be returned via a call to Get Element Text for element.
18:09 PM
2. Let trimmed text be the result of removing all whitespace from the start and end of the string rendered text.
18:09 PM
3. If trimmed text equals selector, append element to result.
18:10 PM
so, yes, we should change the atom
18:11 PM
jimevans
ah. but the question is, does the unicode spec consider 0xA0 to be whitespace?
18:11 PM
kpschmid_ has quit
18:11 PM
in other words, does that code point have the "WSpace=Y" property set?
18:12 PM
(java's Character class does not consider that character whitespace)
18:12 PM
barancev|3
I don't know
18:12 PM
jimevans
i'm trying to figure out whether the test may be incorrect
18:12 PM
(it's a new web-platform-tests test)
18:19 PM
energizer joined the channel
18:28 PM
TinkerT joined the channel
18:32 PM
barancev|3 has quit
18:41 PM
Qulu joined the channel
18:50 PM
barancev: okay, the find element atom is what needs to change to be spec compliant.
18:50 PM
let me look into that.
18:56 PM
errant_rider joined the channel
19:04 PM
marxarelli joined the channel
19:25 PM
ninsei
Hey guys, trying to do a Multiple File Upload using SendKeys with ChromeDriver in C#...
19:26 PM
Is anyone familiar with a way to format the string to send to SendKeys?
19:26 PM
kpschmidt joined the channel
19:26 PM
jimevans
ninsei: the .NET bindings really aren't geared toward uploading multiple files at one go.
19:26 PM
with SendKeys
19:29 PM
kpschmidt has quit
19:30 PM
kpschmidt joined the channel
19:34 PM
kpschmidt has quit
19:50 PM
number_three__ has quit
19:50 PM
number_three__ joined the channel
20:03 PM
kpattich__ joined the channel
20:17 PM
freestyledork_ joined the channel
20:20 PM
titusfortner-sl joined the channel
20:20 PM
freestyledork has quit
20:58 PM
jsdorlus has quit
21:02 PM
marxarelli joined the channel
21:10 PM
kpschmidt joined the channel
21:13 PM
kpschmidt has quit
21:20 PM
titusfortner-sl has quit
21:29 PM
jsdorlus joined the channel
21:31 PM
jsdorlus has quit
21:31 PM
jsdorlus joined the channel
21:57 PM
GodFather joined the channel
22:06 PM
cdbattag_ has quit
22:07 PM
cdbattags joined the channel
22:12 PM
cdbattags has quit
22:47 PM
czart__ joined the channel
22:47 PM
cdbattags joined the channel
22:52 PM
cdbattags has quit
22:52 PM
jsdorlus has quit
22:57 PM
sanscoeu_ joined the channel
22:58 PM
sanscoeur joined the channel
22:59 PM
freestyledork_ joined the channel
23:06 PM
jimevans has quit
23:13 PM
kpschmidt joined the channel