title: How can I get part of url in Cypress
body: <p>Im generating ids and then using id to <code>cy.visit</code> them , I wanna assert the generated id using <code>cy.url().split('/')</code> but I can not , Split works only for strings and <code>cy.url()</code> returns <code>Chainable&lt;string&gt;</code> , any other ways to do that ?</p>