What's the best way of grabbing the current html in the browser as in the most current? Because when I try to grab it and then parse the DOM looking for elements I seem to have a stale version
nirvdrum has quit
kggr joined the channel
tony5 has quit
ulmi has quit
cravecode has quit
ulmi joined the channel
oida has quit
oida joined the channel
merobertsjr_ joined the channel
juangj
xtor: document.documentElement.outerHTML, maybe
rubytester joined the channel
ulmi has quit
ulmi joined the channel
btul has quit
blackboxd has quit
dolu joined the channel
qwebirc52489 joined the channel
qwebirc52489 has quit
oida has quit
rorycb joined the channel
oida joined the channel
rorycb has quit
btulchinsky joined the channel
Sudhansu joined the channel
xtor
juangj, that isnt working with Javascript content though
rananda joined the channel
dolu1 joined the channel
dolu has quit
oida has quit
oida joined the channel
kggr has quit
titusfortner joined the channel
Padawan has quit
Padawan_ joined the channel
rubytester has quit
kggr joined the channel
neeti joined the channel
smccarthy has quit
merobertsjr_ has quit
titusfortner has quit
oida has quit
oida joined the channel
Sudhansu1 joined the channel
Sudhansu has quit
qwebirc78189 joined the channel
qwebirc78189
Hey guys. Getting null when attempting to find aWebElement. Tried with Xpath and Css path (both copied from Chrome -> Inspect Element). It's a text field (numeric value) I'm trying to read. What can I do?
juangj
post a minimal example of your HTML and your WebDriver code to :gist
without seeing an actual concrete example, nobody here can do anything but guess wildly
dolu joined the channel
dolu1 has quit
spacenomad has quit
dolu has quit
SitamJana joined the channel
titusfortner joined the channel
titusfortner
:note AutomatedTester - What all needs to be passed in as desired capabilities to get a session? I'm getting a 500 response with "message: "Missing marionetteProtocol field in handshake"
it's working the first time, and then after the page changes a bit (the xPath is the same!) I'm getting null
again, still the same xpath although the page is a bit different in the second time
any clue anyone?
Ardesco joined the channel
rorycb joined the channel
qwebirc78189 has quit
rorycb has quit
qwebirc6785 joined the channel
qwebirc6785
Hey guys. Getting null when attempting to find aWebElement. Tried with Xpath and Css path (both copied from Chrome -> Inspect Element). It's a text field (numeric value) I'm trying to read. What can I do?
My (java) code is:
By firstItemPriceAfterDiscount = By.xpath("//*[@id=\"dgrid_10-row-0\"]/table/tr/td[5]/input”);