mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
strip text
This commit is contained in:
parent
1d2726d182
commit
baff5e1de5
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module Capybara::Poltergeist
|
|||
end
|
||||
|
||||
def text
|
||||
command :text
|
||||
command(:text).strip.gsub(/\s+/, ' ')
|
||||
end
|
||||
|
||||
def [](name)
|
||||
|
|
Loading…
Add table
Reference in a new issue