Skip to content
This repository has been archived by the owner on Jan 11, 2018. It is now read-only.

DRY field_by_xpath code #226

Open
p opened this issue Mar 7, 2013 · 0 comments
Open

DRY field_by_xpath code #226

p opened this issue Mar 7, 2013 · 0 comments

Comments

@p
Copy link
Member

p commented Mar 7, 2013

  1. It searches by xpath whereas the surrounding code searches by css. Search expressions should be converted back to css, with the helper figuring out the xpath.
  2. text = field.element.text redundancy.
  3. See if webrat truly does not support this out of the box. Maybe a newer version does. If not, send a patch there.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant