Updated to work with setPage method in Mink/Session