jarmo / RAutomation

RAutomation
MIT License
100 stars 33 forks source link

split text #18

Closed rdp closed 13 years ago

rdp commented 13 years ago

Hello. Since there's no mailing list, just posting this as an issue :)

I noticed with this code (using chrome browser, but probably doesn't matter): window = RAutomation::Window.new(:title => /jarmo/)

window.text => "Commit 04e229755ab942b7af6b8aec03e354c6745ac531 to snscaimito/RAutomation - GitHubDummyWindowForActivationDummyWindowForActivationhttps://github.com/snscaimito/RAutomation/commit/04e229755ab942b7af6b8aec03e354c6745ac531"

It's like it's concatenating tons of strings. Maybe those should be split up?

jarmo commented 13 years ago

Indeed, looking at the code it seems that all the text will be appended to each other. It's an easy fix though. Thanks for reporting it :)

jarmo commented 13 years ago

Fixed https://github.com/jarmo/RAutomation/commit/cc906cbc3d4faec81c1fc848ee97c98f9ce0ce22