Does anyone know how to wait for redirect in cucumber. Currently, I have client.pause(1000), which obviously a bad practice for tons of reasons.
You can wait for an element to appear on the page. The redirect is likely going to take you somewhere else you can use that to your advantage