I can get current Url and pass it to const variable.
My URL like this http://bla/bla/ID
I want to take ID and pass it to const again.
This is my code.
    cy.url().then(url => {
        const currentURL = url;
    });
Pls help me, How can I do it with cypress.
 
    