Ruby

Beware of redirects with Ruby’s net/http

Photo by Maik Jonietz on Unsplash Earlier last week, we learned that Ruby’s built-in net/http library contains a fundamental limitation — net/http does not automatically handle redirect status codes (3xx). As part of a feature sprint for a client, we had been tackling some functionality around PDFs issued by their system using wicked_pdf, which can generate PDFs from … Read more

Dealing with cryptic Selenium::WebDriver::Error::InvalidSessionIdError errors

We believe in delivering high quality software for our clients, so it probably comes as no surprise that we subscribe ourselves to numerous best practices such as test driven development, and we adopt a strong testing culture. On one project, we started getting a very cryptic error message when we ran the test suite: Frustratingly, … Read more