Commit 11414b8b authored by Mikaël Salson's avatar Mikaël Salson

vidjil_browser.rb: New information in clone_info_segmenter

We now have other information in the segmenter such as identity rate or productivity.
Thus we now return them.
parent 373d6f7d
...@@ -48,7 +48,9 @@ class VidjilBrowser < Watir::Browser ...@@ -48,7 +48,9 @@ class VidjilBrowser < Watir::Browser
def clone_info_segmenter(id, extra={}) def clone_info_segmenter(id, extra={})
item = clone_in_segmenter(id, extra) item = clone_in_segmenter(id, extra)
return {name: item.element(:class => 'nameBox'), star: item.element(:class => 'starBox'), return {name: item.element(:class => 'nameBox'), star: item.element(:class => 'starBox'),
size: item.element(:class => 'sizeBox')} size: item.element(:class => 'sizeBox'), identity: item.element(:class => 'identityBox'),
info: item.elements(:class => 'infoBox')
end end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment