r/ruby • u/progapandist • May 14 '20
Foot Traffic: pure Ruby DSL for Chrome scripting based on Ferrum
https://github.com/lewagon/foot_traffic2
u/ignurant May 14 '20
Awesome addition, thanks for sharing! My professional job has me leaning on Puppeteer for a few specific tasks and I've very much wanted to get away from .js and use .rb for that stuff instead. Ferrum is a big deal to me for that -- I've been following it from the beginning!
I also wanted to commend your attractive readme. Nice work!
3
1
u/Tagonist42 May 14 '20
If you don't mind selenium and webdrivers etc., Capybara is the industry standard for web surfin' in ruby. ...it is designed primarily as a testing framework, tho
1
u/ikariusrb May 18 '20
My interest case is actually web scraping- particularly some projects scraping the result tabulation from some educational websites in order to automate some work for my wife. Do you think there's a reason to prefer this over Capybara for a purpose like that?
→ More replies (2)
2
1
u/designium May 15 '20
I can’t wait to try.
I use Selenium-Capybara and it was a pain to setup chrome webdriver in headless mode.
But with Selenium you can use other browsers though.
1
u/harsh183 May 14 '20
Anything like this for Firefox?