it wont work that way since i will need to do string.replaceALL(" ",""); for each
because values have separators just like currency has
but if thats only way :S
thomascheriy-sl joined the channel
thomascheriy-sl
is there a way to escape single quotes (ie." ' ") in an xpath expression?
WhereIsMySpoon_
thomascheriy-sl: backslash?
thomascheriy-sl
//*[@onclick='validateFields(this, 'oneway')']
i tried backslash
but not working
WhereIsMySpoon_
use double quotes for onclick=“..."
and escape those instead
chrisw__ joined the channel
WillPittenger_ joined the channel
Guest23256 has quit
Guest23256 joined the channel
WillPittenger has quit
WillPittenger has quit
hazmeister-sl has quit
someone_
WhereIsMySpoon_: you have no other ideas of sloving my issue :S?
barancev
I have an idea but you'll hardly like it. go to your devs and try to explain them what "testability" means :)
moshi has quit
someone_
sadly the idea of converting every element to double fails becuase, i use value of select for start and if that value is taken from select field it will be like this "number:100000" but if it's from input field unlocked by select option than it is "100 000"
thomascheriy-sl
@whereismyspoon - thanks it worked
someone_
so propably i need another conversion...
moshi joined the channel
NOTICE: [13docs] 15manoj9788 pushed 1 new commit to 06gh-pages: 02https://github.com/SeleniumHQ/docs/commit/a05ff0851c7087e88d49f48552103470ea924f40
I wonder if you are meant to use `json.addProperty("httpProxy", "host:5000");`
rnemeth1980-sl
I am still experimenting as I don't find any documentation, only pieces of the puzzle
hazmeister-sl
Added an image: undefined
rnemeth1980-sl
hazmeister-sl thank you o:)
hazmeister-sl
no worries, I think you dug me out of a hole with noProxy, so consider us even :)
WillPittenger has quit
WillPittenger joined the channel
WillPittenger joined the channel
rnemeth1980-sl
I still don't get how to define the noPrxy list
hazmeister-sl
I think its as `url1;url2url3`
I did find there are some weird behaviours if you are not using latest selenium, ff and geckodriver
thomascheriy-sl has quit
rnemeth1980-sl
I have stability issues with 3.0.1 so I am testing 3.6.0 right now, chrome and ff are running fine in the local docker grid, but I need proxy for k8s
if I set only one `json.addProperty("noProxy", "localhost");` then I get `org.openqa.selenium.InvalidArgumentException: "localhost" was not an array`
rnemeth1980-sl has quit
hazmeister-sl has quit
slackbot has quit
slackbot joined the channel
hazmeister-sl joined the channel
lucast
hopefully images are working again...
hazmeister-sl
or `json.addProperty("noProxy", ["127.0.0.1", "localhost"]);`
GodFather joined the channel
rnemeth1980-sl joined the channel
rnemeth1980-sl
it does not work either `groovy.lang.MissingMethodException: No signature of method: com.google.gson.JsonObject.addProperty() is applicable for argument types: (java.lang.String, java.util.ArrayList) values: [noProxy, [127.0.0.1, localhost]]`
`json.addProperty("noProxy", "[127.0.0.1,localhost,selenium]");` and `json.addProperty("noProxy", ["127.0.0.1","localhost","selenium"]);` does not work
surprisingly, the other comments this guy has made are rude and “oh this would only take a few bucks and a few hours of time to do, why is this bad its all wrong waaaa”
in other projects
chrisw__ joined the channel
i replied to him saying to tone it down, doubt it’ll have much effect but w/e
ollehar: weird one. you sure there isn’t more trace? Can you maybe get the driver log?
ollehar
Yes, there's a PHP trace. But it doesn't make much sense. Wait...
During the construction of a RemoteWebDriver, to a hub, if the provided DesiredCapabilities specifies a Proxy, does the hub or remote end do any sort of validation of the provided proxy as part of the process in establishing a successful session?
someone_
How to evoke driver.quit after each method? I tried @Aftermethod but it kinda.. failed