Open eliasnogueira opened 12 years ago
I'm trying to get an element by xpath and the strategy is my the visible text in a combo.
I have tried a command like this, but always fail
$session->element("xpath","//select[@name='name']/option[normalize-space(text())='TEXT']");
As the combo values are dynamic I'm unable to use this by css selector
$session->element("css selector","select[name='name'] option[value='VALUE']");
There's a supported way to do that?
Does it work if you use " inside the xpath rather than '?
I'm trying to get an element by xpath and the strategy is my the visible text in a combo.
I have tried a command like this, but always fail
As the combo values are dynamic I'm unable to use this by css selector
There's a supported way to do that?